comparison 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
comparison
equal deleted inserted replaced
29582:10eefb258465 29583:c990a2cbfa8d
247 *stream_rules = xbuffer_strcat(*stream_rules, b); 247 *stream_rules = xbuffer_strcat(*stream_rules, b);
248 } 248 }
249 249
250 if (!desc->stream[i]->mlti_data) { 250 if (!desc->stream[i]->mlti_data) {
251 len = 0; 251 len = 0;
252 buf = NULL; 252 buf = xbuffer_free(buf);
253 } else 253 } else
254 len=select_mlti_data(desc->stream[i]->mlti_data, desc->stream[i]->mlti_data_size, rulematches[0], &buf); 254 len=select_mlti_data(desc->stream[i]->mlti_data, desc->stream[i]->mlti_data_size, rulematches[0], &buf);
255 255
256 header->streams[i]=rmff_new_mdpr( 256 header->streams[i]=rmff_new_mdpr(
257 desc->stream[i]->stream_id, 257 desc->stream[i]->stream_id,