input/rewind: remove redundant NULL check before g_free() call

This commit is contained in:
Max Kellermann 2010-11-05 18:25:59 +01:00
parent dfd98eede7
commit 32d10eedbd
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}