diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | hieroglyph/hgmem.c | 3 | ||||
-rw-r--r-- | hieroglyph/version.h.in | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,7 @@ 2006-04-12 Akira TAGOH <at@gclab.org> + * hieroglyph/hgmem.c (_hg_mem_pool_free): also use hg_heap_free. + * hieroglyph/hgallocator-ffit.c: use hg_heap_new/free. * hieroglyph/hgmem.c (hg_heap_new): new function. diff --git a/hieroglyph/hgmem.c b/hieroglyph/hgmem.c index 773b8d9..24088d2 100644 --- a/hieroglyph/hgmem.c +++ b/hieroglyph/hgmem.c @@ -92,8 +92,7 @@ _hg_mem_pool_free(HgMemPool *pool) for (i = 0; i < pool->n_heaps; i++) { HgHeap *heap = g_ptr_array_index(pool->heap_list, i); - g_free(heap->heaps); - g_free(heap); + hg_heap_free(heap); } g_free(pool->name); g_ptr_array_free(pool->heap_list, TRUE); diff --git a/hieroglyph/version.h.in b/hieroglyph/version.h.in index 8c7523b..0f2039d 100644 --- a/hieroglyph/version.h.in +++ b/hieroglyph/version.h.in @@ -27,7 +27,7 @@ #include <glib/gmacros.h> #define HIEROGLYPH_VERSION "@VERSION@" -#define HIEROGLYPH_UUID "489a1b26-b4e4-482a-a198-4a93b35369c9" +#define HIEROGLYPH_UUID "b0f514a8-4d76-47fc-b71c-b685cf7f5e0e" const char *__hg_rcsid G_GNUC_UNUSED = "$Rev$"; |