summaryrefslogtreecommitdiff
path: root/src/core/modules-load.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-15 18:37:13 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-15 18:37:13 +0000
commit16247b8c3468a578a942b83fd37777b2d23aae1e (patch)
treeec56b6a1b7bc5189c3bdf780b1e8ba75441f1745 /src/core/modules-load.c
parent8c5ac3fb24587c84c8762eacd9a7a17dad49d722 (diff)
downloadirssi-16247b8c3468a578a942b83fd37777b2d23aae1e.zip
fixed a small memleak when unloading module
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1843 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/modules-load.c')
-rw-r--r--src/core/modules-load.c1
1 files changed, 1 insertions, 0 deletions
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);
}