From 0d3649aef78e3cb6fcc0bc0748083cc113bf391d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Tue, 24 Jun 2008 19:04:39 +0200 Subject: [PATCH] Free allocated memory for the keyword database on exit. --- vomak.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vomak.c b/vomak.c index 46e950a..eb33263 100644 --- a/vomak.c +++ b/vomak.c @@ -325,6 +325,8 @@ static void config_free() g_free(config->realname); g_free(config->nickserv_password); g_free(config->logfile); + if (config->data != NULL) + g_hash_table_destroy(config->data); g_free(config); config = NULL; } -- 2.11.4.GIT