From b869d8ad1dfdf5d2c853b454d92fc6151ee8bedb Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Fri, 7 Nov 2014 13:20:47 +0100 Subject: [PATCH] Free jumplist string from g_key_file_get_string --- database-plain.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/database-plain.c b/database-plain.c index 6c9e0a7..f3b5c46 100644 --- a/database-plain.c +++ b/database-plain.c @@ -507,7 +507,9 @@ plain_load_jumplist(zathura_database_t* db, const char* file) return girara_list_new2(g_free); } - return get_jumplist_from_str(str_value); + girara_list_t* list = get_jumplist_from_str(str_value); + g_free(str_value); + return list; } static bool