Commit 608b4701 authored by conrad's avatar conrad

added ogg_stream_clear to oggz_reader_close for reader's internal stream,

fixing memory leak

git-svn-id: 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent f118a103
......@@ -90,6 +90,7 @@ oggz_read_close (OGGZ * oggz)
OggzReader * reader = &oggz->x.reader;
ogg_stream_clear (&reader->ogg_stream);
ogg_sync_clear (&reader->ogg_sync);
return oggz;
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