changeset 35297:aeb77e5b1942

Fix memleak on parse error.
author reimar
date Sat, 10 Nov 2012 13:06:15 +0000
parents 4dc2b1261d29
children 99e63193b542
files stream/realrtsp/sdpplin.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/realrtsp/sdpplin.c	Sat Nov 10 12:46:01 2012 +0000
+++ b/stream/realrtsp/sdpplin.c	Sat Nov 10 13:06:15 2012 +0000
@@ -139,6 +139,7 @@
     printf("sdpplin: no m= found.\n");
     free(desc);
     xbuffer_free(buf);
+    xbuffer_free(decoded);
     return NULL;
   }
   *data=nl(*data);