From f2a8cab90703f9151684c53db66c87786da5d473 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 2 Dec 2000 02:01:28 +0000 Subject: config_close() didn't work correctly when config was parsed from string instead of file. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@909 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/lib-config/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib-config/parse.c') diff --git a/src/lib-config/parse.c b/src/lib-config/parse.c index ff1874bb..a173151c 100644 --- a/src/lib-config/parse.c +++ b/src/lib-config/parse.c @@ -347,7 +347,7 @@ void config_close(CONFIG_REC *rec) g_hash_table_destroy(rec->cache); g_hash_table_destroy(rec->cache_nodes); g_free_not_null(rec->last_error); - g_free(rec->fname); + g_free_not_null(rec->fname); g_free(rec); } -- cgit v1.2.3