--- a/libpurple/buddylist.c Fri Feb 21 02:52:27 2014 +0530 +++ b/libpurple/buddylist.c Sun Feb 23 02:40:51 2014 +0530 @@ -2030,14 +2030,6 @@ return ops_new; } -static void -purple_blist_ui_ops_free(PurpleBlistUiOps *ops) -{ - g_return_if_fail(ops != NULL); - - g_free(ops); -} - GType purple_blist_ui_ops_get_type(void) { @@ -2046,7 +2038,7 @@ if (type == 0) { type = g_boxed_type_register_static("PurpleBlistUiOps", (GBoxedCopyFunc)purple_blist_ui_ops_copy, - (GBoxedFreeFunc)purple_blist_ui_ops_free); + (GBoxedFreeFunc)g_free); } return type;