From 16247b8c3468a578a942b83fd37777b2d23aae1e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 15 Oct 2001 18:37:13 +0000 Subject: [PATCH] fixed a small memleak when unloading module git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1843 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/modules-load.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/modules-load.c b/src/core/modules-load.c index 7c6743fe..db554ef7 100644 --- a/src/core/modules-load.c +++ b/src/core/modules-load.c @@ -396,6 +396,7 @@ void module_unload(MODULE_REC *module) while (module->files != NULL) module_file_unload(module->files->data); + g_free(module->name); g_free(module); }