playlist_song: fix memory leak
Free the temporary path string in apply_song_metadata().
This commit is contained in:
parent
bedb82bf4d
commit
013ebb638a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue