Commit 51aed0ec authored by shans's avatar shans

free packet buffers dlists on oggz_close



git-svn-id: http://svn.annodex.net/liboggz/trunk@3247 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent a0605191
...@@ -199,6 +199,9 @@ oggz_close (OGGZ * oggz) ...@@ -199,6 +199,9 @@ oggz_close (OGGZ * oggz)
oggz_vector_foreach (oggz->streams, oggz_stream_clear); oggz_vector_foreach (oggz->streams, oggz_stream_clear);
oggz_vector_delete (oggz->streams); oggz_vector_delete (oggz->streams);
assert(oggz_dlist_is_empty(oggz->packet_buffer));
oggz_dlist_delete(oggz->packet_buffer);
if (oggz->metric_internal) if (oggz->metric_internal)
oggz_free (oggz->metric_user_data); oggz_free (oggz->metric_user_data);
......
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