Mercurial > pidgin.yaz
comparison src/module.c @ 4580:3fef2d45dce0
[gaim-migrate @ 4861]
(12:13:17) ari: This fixes a double-free, resulting in a crash when MALLOC_CHECK_=2, and fixes a problem where when the browser is set to Manual and you click on a link, the same link then becomes corrupted
(12:14:14) ari: basically the last one was because whoever changed browser.c assumed strdelimit returned a new string
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 12 Feb 2003 17:16:16 +0000 |
parents | 24d2881f75d2 |
children |
comparison
equal
deleted
inserted
replaced
4579:0ea6a4c53f38 | 4580:3fef2d45dce0 |
---|---|
662 p = (struct gaim_plugin *)c->data; | 662 p = (struct gaim_plugin *)c->data; |
663 if (p->type == plugin) { | 663 if (p->type == plugin) { |
664 if (g_module_symbol(p->handle, "gaim_plugin_remove", (gpointer *)&gaim_plugin_remove)) | 664 if (g_module_symbol(p->handle, "gaim_plugin_remove", (gpointer *)&gaim_plugin_remove)) |
665 gaim_plugin_remove(); | 665 gaim_plugin_remove(); |
666 } | 666 } |
667 g_free(p); | 667 if(p) |
668 g_free(p); | |
668 c = c->next; | 669 c = c->next; |
669 } | 670 } |
670 } | 671 } |
671 #endif | 672 #endif |