Mercurial > hg
changeset 1765:79e9669b2a16
Fix output of message on module unloading
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Sat, 13 Mar 2010 19:51:54 +0200 |
parents | 499d3ec34188 |
children | 0852b90babf8 |
files | mcabber/mcabber/modules.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/mcabber/modules.c Sat Mar 13 14:51:13 2010 +0100 +++ 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; }