Switch over to using GLib's g_malloc/g_free in the name of consistency.
[obnox/wireshark/wip.git] / epan / except.c
index 0408eda29ef63d859fc241c9e30ef9ac83244c21..f740ebc012493a7e93cf4781a96ac2cc4e8780f0 100644 (file)
@@ -139,8 +139,8 @@ void except_deinit(void)
 static int init_counter;
 static void unhandled_catcher(except_t *);
 static void (*uh_catcher_ptr)(except_t *) = unhandled_catcher;
-static void *(*allocator)(size_t) = malloc;
-static void (*deallocator)(void *) = free;
+static void *(*allocator)(size_t) = g_malloc;
+static void (*deallocator)(void *) = g_free;
 static struct except_stacknode *stack_top;
 
 #define get_top() (stack_top)