diff options
author | James Booth <boothj5@gmail.com> | 2016-02-14 01:37:13 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-02-14 01:37:13 +0000 |
commit | 7a19ee822bc6268cc228305f950c2dcb0eed6776 (patch) | |
tree | 070d70266131bd074c5fe12050f34e232333fb3c /src/config | |
parent | 87e3530e222f18a36c032d5585029d4a43550ae9 (diff) | |
download | profani-tty-7a19ee822bc6268cc228305f950c2dcb0eed6776.tar.gz |
Fixed theme defaults memory release
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/theme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index d221bd3f..82d5a988 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -74,7 +74,7 @@ theme_init(const char *const theme_name) } str_to_pair = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); - defaults = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); + defaults = g_hash_table_new_full(g_str_hash, g_str_equal, free, free); g_hash_table_insert(defaults, strdup("main.text"), strdup("white")); g_hash_table_insert(defaults, strdup("main.text.me"), strdup("white")); |