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:
parent
8ea0197235
commit
fef9b4625e
@ -613,9 +613,10 @@ streamFile(stream_t stream, const char *fileName)
|
|||||||
ret = STREAM_DONE;
|
ret = STREAM_DONE;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (0> stream_set_metadata(stream, prog_mdata, &mdataStr)) {
|
if (0 > stream_set_metadata(stream, prog_mdata, &mdataStr)) {
|
||||||
retval = 0;
|
retval = 0;
|
||||||
ret = STREAM_DONE;
|
ret = STREAM_DONE;
|
||||||
|
metadata_free(&prog_mdata);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
metadata_free(&prog_mdata);
|
metadata_free(&prog_mdata);
|
||||||
|
Loading…
Reference in New Issue
Block a user