Mercurial > pidgin
comparison src/plugin.c @ 10276:edf8c0a8e60b
[gaim-migrate @ 11431]
Memory leak fixes in plugins, signals
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Mon, 29 Nov 2004 04:29:49 +0000 |
| parents | 0dbeb6d1e258 |
| children | c9872abd9518 |
comparison
equal
deleted
inserted
replaced
| 10275:d9468bd22b7c | 10276:edf8c0a8e60b |
|---|---|
| 487 | 487 |
| 488 void | 488 void |
| 489 gaim_plugin_destroy(GaimPlugin *plugin) | 489 gaim_plugin_destroy(GaimPlugin *plugin) |
| 490 { | 490 { |
| 491 #ifdef GAIM_PLUGINS | 491 #ifdef GAIM_PLUGINS |
| 492 if(plugin->path) | |
| 493 g_free(plugin->path); | |
| 492 g_return_if_fail(plugin != NULL); | 494 g_return_if_fail(plugin != NULL); |
| 493 | 495 |
| 494 if (gaim_plugin_is_loaded(plugin)) | 496 if (gaim_plugin_is_loaded(plugin)) |
| 495 gaim_plugin_unload(plugin); | 497 gaim_plugin_unload(plugin); |
| 496 | 498 |
