1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Fix memory leak (CID 171996)

This commit is contained in:
Moritz Grimm 2017-09-15 20:21:45 +02:00
parent 8ea0197235
commit fef9b4625e

View File

@ -616,6 +616,7 @@ streamFile(stream_t stream, const char *fileName)
if (0 > stream_set_metadata(stream, prog_mdata, &mdataStr)) {
retval = 0;
ret = STREAM_DONE;
metadata_free(&prog_mdata);
continue;
}
metadata_free(&prog_mdata);