Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/modules.c @ 1763:5b497046df40
Fix output of message on module unloading
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Sat, 13 Mar 2010 19:51:54 +0200 |
parents | 84487d78d0ea |
children | d3168cd64d59 |
line wrap: on
line diff
--- a/mcabber/mcabber/modules.c Sat Mar 13 18:17:10 2010 +0200 +++ b/mcabber/mcabber/modules.c Sat Mar 13 19:51:54 2010 +0200 @@ -264,11 +264,11 @@ // Destroy structure loaded_modules = g_slist_delete_link(loaded_modules, lmod); + // Output this here, as arg may point to module->name + scr_LogPrint(LPRINT_LOGNORM, "Unloaded module %s.", module->name); g_free(module->name); g_free(module); - scr_LogPrint(LPRINT_LOGNORM, "Unloaded module %s.", arg); - return NULL; }