[MPlayer-cvslog] r21808 - trunk/stream/realrtsp/sdpplin.c

rtogni subversion at mplayerhq.hu
Mon Jan 1 23:49:13 CET 2007


Author: rtogni
Date: Mon Jan  1 23:49:13 2007
New Revision: 21808

Modified:
   trunk/stream/realrtsp/sdpplin.c

Log:
More free() that were forgotten in r21806 memleak fix


Modified: trunk/stream/realrtsp/sdpplin.c
==============================================================================
--- trunk/stream/realrtsp/sdpplin.c	(original)
+++ trunk/stream/realrtsp/sdpplin.c	Mon Jan  1 23:49:13 2007
@@ -375,9 +375,12 @@
         free(description->stream[i]->mlti_data);
       if (description->stream[i]->asm_rule_book)
         free(description->stream[i]->asm_rule_book);
+      free(description->stream[i]);
     }
   }
 
+  if(description->stream_count)
+    free(description->stream);
   if (description->title)
     free(description->title);
   if (description->author)



More information about the MPlayer-cvslog mailing list