From 644330de7622e81c6c0d4fc34a451d589f7f3600 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Tue, 12 Jul 2011 20:03:18 +0200 Subject: [PATCH] Fix memory leak --- zathura.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zathura.c b/zathura.c index 3ab3ccb..62627fe 100644 --- a/zathura.c +++ b/zathura.c @@ -3903,6 +3903,7 @@ cc_open(char* input) gtk_entry_set_text(Zathura.UI.inputbar, file); gtk_editable_set_position(GTK_EDITABLE(Zathura.UI.inputbar), -1); g_free(file); + completion_free(completion); return NULL; } @@ -3960,6 +3961,7 @@ cc_open(char* input) { g_free(path); g_free(file); + completion_free(completion); return NULL; }