[xiph-commits] r3247 - liboggz/trunk/src/liboggz

shans at svn.annodex.net shans at svn.annodex.net
Fri Oct 5 22:13:51 PDT 2007


Author: shans
Date: 2007-10-05 22:13:50 -0700 (Fri, 05 Oct 2007)
New Revision: 3247

Modified:
   liboggz/trunk/src/liboggz/oggz.c
Log:
free packet buffers dlists on oggz_close



Modified: liboggz/trunk/src/liboggz/oggz.c
===================================================================
--- liboggz/trunk/src/liboggz/oggz.c	2007-10-06 05:13:26 UTC (rev 3246)
+++ liboggz/trunk/src/liboggz/oggz.c	2007-10-06 05:13:50 UTC (rev 3247)
@@ -199,6 +199,9 @@
   oggz_vector_foreach (oggz->streams, oggz_stream_clear);
   oggz_vector_delete (oggz->streams);
 
+  assert(oggz_dlist_is_empty(oggz->packet_buffer));
+  oggz_dlist_delete(oggz->packet_buffer);
+  
   if (oggz->metric_internal)
     oggz_free (oggz->metric_user_data);
 



More information about the commits mailing list