Commit 013ebb63 authored by Max Kellermann's avatar Max Kellermann

playlist_song: fix memory leak

Free the temporary path string in apply_song_metadata().
parent bedb82bf
......@@ -63,6 +63,8 @@ apply_song_metadata(struct song *dest, const struct song *src)
return dest;
tmp = song_file_new(path_fs, NULL);
g_free(path_fs);
merge_song_metadata(tmp, dest, src);
} else {
tmp = song_file_new(dest->uri, NULL);
......
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