[MPlayer-cvslog] r25691 - trunk/codec-cfg.c
    reimar 
    subversion at mplayerhq.hu
       
    Sat Jan 12 15:48:12 CET 2008
    
    
  
Author: reimar
Date: Sat Jan 12 15:48:12 2008
New Revision: 25691
Log:
100l, free strdup'd strings
Modified:
   trunk/codec-cfg.c
Modified: trunk/codec-cfg.c
==============================================================================
--- trunk/codec-cfg.c	(original)
+++ trunk/codec-cfg.c	Sat Jan 12 15:48:12 2008
@@ -823,6 +823,8 @@ void stringset_init(stringset_t *set) {
 }
 
 void stringset_free(stringset_t *set) {
+  int count = 0;
+  while ((*set)[count]) free((*set)[count++]);
   free(*set);
   *set = NULL;
 }
    
    
More information about the MPlayer-cvslog
mailing list