[xiph-commits] r14293 - trunk/theora/lib/dec

giles at svn.xiph.org giles at svn.xiph.org
Tue Dec 11 09:32:20 PST 2007


Author: giles
Date: 2007-12-11 09:32:19 -0800 (Tue, 11 Dec 2007)
New Revision: 14293

Modified:
   trunk/theora/lib/dec/huffdec.c
Log:
Free huffman nodes with the libogg allocator, not the system one.
Issue #1269.


Modified: trunk/theora/lib/dec/huffdec.c
===================================================================
--- trunk/theora/lib/dec/huffdec.c	2007-12-11 07:04:40 UTC (rev 14292)
+++ trunk/theora/lib/dec/huffdec.c	2007-12-11 17:32:19 UTC (rev 14293)
@@ -63,7 +63,7 @@
   _node: The node to free.
          This may be NULL.*/
 static void oc_huff_node_free(oc_huff_node *_node){
-  free(_node);
+  _ogg_free(_node);
 }
 
 /*Frees the memory used by a Huffman tree.



More information about the commits mailing list