aboutsummaryrefslogtreecommitdiffstats
path: root/epan/except.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-15 09:13:16 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-15 09:13:16 +0000
commit154de6039339d4b432f7c987b321f6e79c164171 (patch)
tree881e1ab801bfa5aacf7e26b4f259e5f1ac498890 /epan/except.c
parentda97c3e2b680975f4cb7c333f1f4214c9146b808 (diff)
Switch over to using GLib's g_malloc/g_free in the name of consistency.
svn path=/trunk/; revision=29430
Diffstat (limited to 'epan/except.c')
-rw-r--r--epan/except.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/except.c b/epan/except.c
index 0408eda29e..f740ebc012 100644
--- a/epan/except.c
+++ b/epan/except.c
@@ -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)