summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-15 12:44:05 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-15 12:44:05 +0000
commit015d00b596d2085c55c156132d16dc1ccc48701b (patch)
tree7589f07b131f6a472e0ba7c13a0670d10e2fcf56
parent61927b3a9ebf7b125cf3b673900eb4ac2fa9ecfe (diff)
downloadmpv-015d00b596d2085c55c156132d16dc1ccc48701b.tar.bz2
mpv-015d00b596d2085c55c156132d16dc1ccc48701b.tar.xz
silly bug fixed - thanx Szekeres Istvan <szekeres@webvilag.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1531 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/url.c b/url.c
index a8215e9480..febf09a1b4 100644
--- a/url.c
+++ b/url.c
@@ -106,7 +106,7 @@ url_new(char* url) {
void
url_free(URL_t* url) {
- if(url) return;
+ if(!url) return;
if(url->url) free(url->url);
if(url->protocol) free(url->protocol);
if(url->hostname) free(url->hostname);