From f167516d23badb13fa99b8aba1b7bb784f24386b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 4 Mar 2001 09:09:59 +0000 Subject: [PATCH] fixed minor memory leak git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1350 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/modules.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/modules.c b/src/core/modules.c index 3a4c1f3e..de2778f0 100644 --- a/src/core/modules.c +++ b/src/core/modules.c @@ -335,6 +335,7 @@ int module_load(const char *path, char **prefixes) name = module_get_name(path, &start, &end); if (module_find(name)) { module_error(MODULE_ERROR_ALREADY_LOADED, name, NULL); + g_free(name); return FALSE; }