diff options
author | 2001-08-15 12:44:05 +0000 | |
---|---|---|
committer | 2001-08-15 12:44:05 +0000 | |
commit | 015d00b596d2085c55c156132d16dc1ccc48701b (patch) | |
tree | 7589f07b131f6a472e0ba7c13a0670d10e2fcf56 /url.c | |
parent | 61927b3a9ebf7b125cf3b673900eb4ac2fa9ecfe (diff) |
silly bug fixed - thanx Szekeres Istvan <szekeres@webvilag.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1531 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'url.c')
-rw-r--r-- | url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |