Commit cc5a6a4e authored by conrad's avatar conrad

fixed memory leak in oggz_close; each element of oggz->streams was cleared

but not freed ...


git-svn-id: http://svn.annodex.net/liboggz/trunk@428 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 6c0aa0a6
...@@ -156,6 +156,8 @@ oggz_stream_clear (void * data) ...@@ -156,6 +156,8 @@ oggz_stream_clear (void * data)
if (stream->metric_internal) if (stream->metric_internal)
oggz_free (stream->metric_user_data); oggz_free (stream->metric_user_data);
oggz_free (stream);
return 0; return 0;
} }
......
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