[Pidgin] #8758: perl plugin does not get unloaded
Pidgin
trac at pidgin.im
Mon Mar 23 17:02:58 EDT 2009
#8758: perl plugin does not get unloaded
---------------------+------------------------------------------------------
Reporter: cavedon | Owner: deryni
Type: defect | Status: pending
Milestone: | Component: plugins
Version: 2.5.5 | Resolution:
Keywords: | Launchpad_bug:
---------------------+------------------------------------------------------
Changes (by deryni):
* status: new => pending
Comment:
Ah, that seems entirely reasonable and likely. It would seem to me that
the correct fix for this would be to NULLif the exts pointer when it is
destroyed in purple_plugin_destroy. Are you able to test if that fixes
your problem?
Adding
loader_info->exts = NULL;
immediately after the
g_list_free(loader_info->exts);
line in plugin.c should do it.
As to the perl.so loading, yes, it appears that simply saving the return
value of g_module_open and giving it to g_module_close is the correct
thing to do here. Though if the above fixes your issue, I'm inclined to
leave this alone as it has not appeared to cause anyone any problems so
far. Though if you want to test this as well in your envionment that would
be fine and is likely the worst-case scenario for this change to break
things.
--
Ticket URL: <http://developer.pidgin.im/ticket/8758#comment:4>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list