diff stream/realrtsp/real.c @ 29583:c990a2cbfa8d

Fix several more rtsp-related memleaks.
author reimar
date Wed, 02 Sep 2009 10:44:26 +0000
parents 26e0c6a16e57
children dc57d7bd98e1
line wrap: on
line diff
--- a/stream/realrtsp/real.c	Wed Sep 02 10:37:32 2009 +0000
+++ b/stream/realrtsp/real.c	Wed Sep 02 10:44:26 2009 +0000
@@ -249,7 +249,7 @@
 
     if (!desc->stream[i]->mlti_data) {
 	len = 0;
-	buf = NULL;
+	buf = xbuffer_free(buf);
     } else
     len=select_mlti_data(desc->stream[i]->mlti_data, desc->stream[i]->mlti_data_size, rulematches[0], &buf);