mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Fixed theme defaults memory release
This commit is contained in:
parent
87e3530e22
commit
7a19ee822b
@ -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);
|
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"), strdup("white"));
|
||||||
g_hash_table_insert(defaults, strdup("main.text.me"), strdup("white"));
|
g_hash_table_insert(defaults, strdup("main.text.me"), strdup("white"));
|
||||||
|
Loading…
Reference in New Issue
Block a user