summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--browser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/browser.c b/browser.c
index ac2e8e8..e65e742 100644
--- a/browser.c
+++ b/browser.c
@@ -822,7 +822,8 @@ keywords_load(void)
{
tokens = g_strsplit(buf, " ", 2);
if (tokens[0] != NULL && tokens[1] != NULL)
- g_hash_table_insert(keywords, tokens[0], tokens[1]);
+ g_hash_table_insert(keywords, g_strdup(tokens[0]),
+ g_strdup(tokens[1]));
g_strfreev(tokens);
}
g_free(buf);