From 25320f52655b4660da9895d57f7efa0c4201b7c5 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Sun, 1 Apr 2012 22:57:34 +0200 Subject: [PATCH] Resolve memory leak in db_watch_file --- database-plain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database-plain.c b/database-plain.c index 8c6bf13..b6befda 100644 --- a/database-plain.c +++ b/database-plain.c @@ -555,4 +555,6 @@ cb_zathura_db_watch_file(GFileMonitor* UNUSED(monitor), GFile* file, GFile* UNUS priv->history = zathura_db_read_key_file_from_file(priv->history_path); } + + g_free(path); }