From df10915ba5172ec1fb802182369e43142c1e049e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 25 May 2012 16:32:44 -0400 Subject: [PATCH] givfuncinfo: Fix memory leak The field info wasn't being freed after it was used --- givfuncinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/givfuncinfo.c b/givfuncinfo.c index 462521b62..f9ba64a7f 100644 --- a/givfuncinfo.c +++ b/givfuncinfo.c @@ -253,6 +253,7 @@ g_vfunc_info_get_address (GIVFuncInfo *vfunc_info, offset = g_field_info_get_offset (field_info); func = *(gpointer*) G_STRUCT_MEMBER_P (implementor_vtable, offset); g_type_class_unref (implementor_vtable); + g_base_info_unref (field_info); if (func == NULL) {