Commit e59564c5 authored by Michael Smith's avatar Michael Smith

Use _ogg_free(), not ogg_packet_clear(), to prevent cross-DLL windows memory

management issues


svn path=/trunk/vorbis-tools/; revision=8263
parent e9b34d50
......@@ -483,7 +483,10 @@ int vcedit_write(vcedit_state *state, void *out)
cleanup:
ogg_stream_clear(&streamout);
ogg_packet_clear(&header_comments);
/* We don't ogg_packet_clear() this, because the memory was allocated in
_commentheader_out(), so we mirror that here */
_ogg_free(header_comments.packet);
free(state->mainbuf);
free(state->bookbuf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment