im.pidgin.pidgin: 1e815cbbfe7f16f64d88932b88cb027889830b52

sadrul at pidgin.im sadrul at pidgin.im
Sun Dec 30 08:50:43 EST 2007


-----------------------------------------------------------------
Revision: 1e815cbbfe7f16f64d88932b88cb027889830b52
Ancestor: 4c54c022c1d5540ea8b127a3da36ac83791cc070
Author: sadrul at pidgin.im
Date: 2007-12-30T13:53:57
Branch: im.pidgin.pidgin

Modified files:
        libpurple/plugin.c

ChangeLog: 

Fix a double-free when unloading dependent plugins. Fixes #4488.

-------------- next part --------------
============================================================
--- libpurple/plugin.c	fdbc8f1f90b8c04408b6bdfd86b8cfe395314c36
+++ libpurple/plugin.c	8362e0e249fe6836ef1153028729894cecdb5b38
@@ -667,7 +667,10 @@ purple_plugin_unload(PurplePlugin *plugi
 			}
 			else
 			{
+#if 0
+				/* This isn't necessary. This has already been done when unloading dep_plugin. */
 				plugin->dependent_plugins = g_list_delete_link(plugin->dependent_plugins, l);
+#endif
 			}
 		}
 	}


More information about the Commits mailing list