Commit 32d10eed authored by Max Kellermann's avatar Max Kellermann

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

parent dfd98eed
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment