Use the right free function in the boxed type for EVCardAttributeParam
authorAlexander Larsson <alexl@redhat.com>
Fri, 10 Jun 2011 10:10:01 +0000 (12:10 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 10 Jun 2011 10:11:22 +0000 (12:11 +0200)
We were using e_vcard_attribute_free, not e_vcard_attribute_param_free

addressbook/libebook/e-vcard.c

index e59092a..0f5a6a0 100644 (file)
@@ -1481,7 +1481,7 @@ e_vcard_attribute_param_get_type (void)
                                                      (GBoxedCopyFunc)
                                                      e_vcard_attribute_param_copy,
                                                      (GBoxedFreeFunc)
-                                                     e_vcard_attribute_free);
+                                                     e_vcard_attribute_param_free);
 
                g_once_init_leave (&type_id__volatile, type_id);
        }