diff options
author | Max Kellermann <max@duempel.org> | 2010-11-05 18:25:59 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-11-05 18:40:14 +0100 |
commit | 32d10eedbde70ef3d5ae0f1567cee3e25e4f9993 (patch) | |
tree | 63d2ccbbe97ad0908b1a6799d4317b4e32c14381 /src | |
parent | dfd98eede742720c9b660a60b796f5b26d552de3 (diff) | |
download | mpd-32d10eedbde70ef3d5ae0f1567cee3e25e4f9993.tar.gz mpd-32d10eedbde70ef3d5ae0f1567cee3e25e4f9993.tar.xz mpd-32d10eedbde70ef3d5ae0f1567cee3e25e4f9993.zip |
input/rewind: remove redundant NULL check before g_free() call
Diffstat (limited to '')
-rw-r--r-- | src/input/rewind_input_plugin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input/rewind_input_plugin.c b/src/input/rewind_input_plugin.c index ead5765c8..1927c525a 100644 --- a/src/input/rewind_input_plugin.c +++ b/src/input/rewind_input_plugin.c @@ -93,8 +93,7 @@ copy_attributes(struct input_stream *dest) dest->offset = src->offset; if (src->mime != NULL) { - if (dest->mime != NULL) - g_free(dest->mime); + g_free(dest->mime); dest->mime = g_strdup(src->mime); } } |