mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -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;
|
||||
continue;
|
||||
}
|
||||
if (0> stream_set_metadata(stream, prog_mdata, &mdataStr)) {
|
||||
if (0 > stream_set_metadata(stream, prog_mdata, &mdataStr)) {
|
||||
retval = 0;
|
||||
ret = STREAM_DONE;
|
||||
metadata_free(&prog_mdata);
|
||||
continue;
|
||||
}
|
||||
metadata_free(&prog_mdata);
|
||||
|
Loading…
Reference in New Issue
Block a user