changeset 21790:7ea888a4b348

More free() that were forgotten in r21806 memleak fix
author rtogni
date Mon, 01 Jan 2007 22:49:13 +0000
parents b266f27109a6
children 9bb94bee6ea0
files stream/realrtsp/sdpplin.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/realrtsp/sdpplin.c	Mon Jan 01 22:47:14 2007 +0000
+++ b/stream/realrtsp/sdpplin.c	Mon Jan 01 22:49:13 2007 +0000
@@ -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)