changeset 16418:264b3b909850

check4proxies always creates a copy, so url should be freed
author reimar
date Tue, 06 Sep 2005 21:08:36 +0000
parents be6bbd50ec20
children 0d860b6d64e6
files libmpdemux/asf_streaming.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c	Tue Sep 06 21:00:57 2005 +0000
+++ b/libmpdemux/asf_streaming.c	Tue Sep 06 21:08:36 2005 +0000
@@ -849,7 +849,7 @@
 	stream->streaming_ctrl->bandwidth = network_bandwidth;
 	url = url_new(stream->url);
 	stream->streaming_ctrl->url = check4proxies(url);
-	//url_free(url);
+	url_free(url);
 	
 	mp_msg(MSGT_OPEN, MSGL_INFO, "STREAM_ASF, URL: %s\n", stream->url);
 	if((!strncmp(stream->url, "http", 4)) && (*file_format!=DEMUXER_TYPE_ASF && *file_format!=DEMUXER_TYPE_UNKNOWN)) {