about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-02-14 01:37:13 +0000
committerJames Booth <boothj5@gmail.com>2016-02-14 01:37:13 +0000
commit7a19ee822bc6268cc228305f950c2dcb0eed6776 (patch)
tree070d70266131bd074c5fe12050f34e232333fb3c /src
parent87e3530e222f18a36c032d5585029d4a43550ae9 (diff)
downloadprofani-tty-7a19ee822bc6268cc228305f950c2dcb0eed6776.tar.gz
Fixed theme defaults memory release
Diffstat (limited to 'src')
-rw-r--r--src/config/theme.c2
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"));