comparison libpurple/plugin.c @ 27344:a42d6d83ec36

NULL-ify the loader_info->exts member. Fixes a crash if UIs repeatedly init and deinit the libpurple core (or simply destroy and reprobe a loader plugin) and the struct is static. Fixes the crash portion of #8758.
author Etan Reisner <pidgin@unreliablesource.net>
date Sun, 28 Jun 2009 06:04:35 +0000
parents 552b5292f36f
children 4fd6b50d03b3
comparison
equal deleted inserted replaced
27343:df7705d4b19a 27344:a42d6d83ec36
859 } 859 }
860 } 860 }
861 } 861 }
862 862
863 g_list_free(loader_info->exts); 863 g_list_free(loader_info->exts);
864 loader_info->exts = NULL;
864 } 865 }
865 866
866 plugin_loaders = g_list_remove(plugin_loaders, plugin); 867 plugin_loaders = g_list_remove(plugin_loaders, plugin);
867 } 868 }
868 869