input/rewind: remove redundant NULL check before g_free() call
This commit is contained in:
parent
dfd98eede7
commit
32d10eedbd
@ -93,7 +93,6 @@ copy_attributes(struct input_stream *dest)
|
||||
dest->offset = src->offset;
|
||||
|
||||
if (src->mime != NULL) {
|
||||
if (dest->mime != NULL)
|
||||
g_free(dest->mime);
|
||||
dest->mime = g_strdup(src->mime);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user