Properly clean up function pointers in menu_common_list_delete