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_mms.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_mms.c')
-rw-r--r-- | src/input/input_mms.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input/input_mms.c b/src/input/input_mms.c index 3e4b7172c..0b726fef0 100644 --- a/src/input/input_mms.c +++ b/src/input/input_mms.c @@ -285,9 +285,7 @@ static void mms_plugin_dispose (input_plugin_t *this_gen) { this->nbc = NULL; } - if(this->mrl) - free(this->mrl); - + free(this->mrl); free (this); } |