diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 16:17:11 +0100 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 16:17:11 +0100 |
| commit | ce072469888db55316d648918229f2b83fc5e7cf (patch) | |
| tree | 1d995bd3d70d9a9e341cdd894f14e4cb761ead40 /src/input/input_http.c | |
| parent | 974c78a88db16711f89f50c8e3f5c98dd4a29c02 (diff) | |
| download | xine-lib-ce072469888db55316d648918229f2b83fc5e7cf.tar.gz xine-lib-ce072469888db55316d648918229f2b83fc5e7cf.tar.bz2 | |
Don't use the if(foo) free(foo); construct, as free(NULL); is well defined.
Diffstat (limited to 'src/input/input_http.c')
| -rw-r--r-- | src/input/input_http.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c index 328ab523e..5975bb64b 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -1076,8 +1076,7 @@ static const char *http_class_get_identifier (input_class_t *this_gen) { static void http_class_dispose (input_class_t *this_gen) { http_input_class_t *this = (http_input_class_t *) this_gen; - if(this->proxyhost_env) - free(this->proxyhost_env); + free(this->proxyhost_env); free (this); } |
