mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
Fix: Fixed memory leak in metadata_xiph_read_vorbis_comments()
This commit is contained in:
parent
1eda7cc45a
commit
584d44fd63
@ -105,8 +105,9 @@ bool metadata_xiph_read_vorbis_comments(vorbis_comment *vc, const void *buff
|
||||
vorbis_comment_add(vc, out_buffer);
|
||||
}
|
||||
|
||||
free(out_buffer);
|
||||
|
||||
if (!ret) {
|
||||
free(out_buffer);
|
||||
vorbis_comment_clear(vc);
|
||||
vorbis_comment_init(vc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user