summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-02 02:01:28 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-02 02:01:28 +0000
commitf2a8cab90703f9151684c53db66c87786da5d473 (patch)
tree991775ec07b83307a08ac6d3b620148188cf7462
parentdb1b93ee9928c8ebaf19e422818c1f7699bb2436 (diff)
downloadirssi-f2a8cab90703f9151684c53db66c87786da5d473.zip
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
-rw-r--r--src/lib-config/parse.c2
1 files changed, 1 insertions, 1 deletions
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);
}