--- a/libpurple/roomlist.c Fri Feb 21 02:52:27 2014 +0530 +++ b/libpurple/roomlist.c Sun Feb 23 02:40:51 2014 +0530 @@ -687,14 +687,6 @@ return ops_new; } -static void -purple_roomlist_ui_ops_free(PurpleRoomlistUiOps *ops) -{ - g_return_if_fail(ops != NULL); - - g_free(ops); -} - GType purple_roomlist_ui_ops_get_type(void) { @@ -703,7 +695,7 @@ if (type == 0) { type = g_boxed_type_register_static("PurpleRoomlistUiOps", (GBoxedCopyFunc)purple_roomlist_ui_ops_copy, - (GBoxedFreeFunc)purple_roomlist_ui_ops_free); + (GBoxedFreeFunc)g_free); } return type;