input/rewind: remove redundant NULL check before g_free() call
This commit is contained in:
parent
dfd98eede7
commit
32d10eedbd
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue