1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00

Fix memory leak (CID 172413)

This commit is contained in:
Moritz Grimm 2017-09-15 20:13:05 +02:00
parent f27cdee9d3
commit 8ea0197235

View File

@ -162,6 +162,7 @@ _build_reencode_cmd(const char *extension, const char *fileName,
custom_songinfo = xstrdup(songinfo); custom_songinfo = xstrdup(songinfo);
} }
} }
xfree(songinfo);
memset(dicts, 0, sizeof(dicts)); memset(dicts, 0, sizeof(dicts));
dicts[0].from = PLACEHOLDER_ARTIST; dicts[0].from = PLACEHOLDER_ARTIST;