---
 shortcuts.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shortcuts.c b/shortcuts.c
index 9d70fbc..ea00fab 100644
--- a/shortcuts.c
+++ b/shortcuts.c
@@ -895,6 +895,7 @@ sc_navigate_index(girara_session_t* session, 
girara_argument_t* argument,
         do {
           gtk_tree_model_get_iter(model, &iter, path);
           if (gtk_tree_model_iter_next(model, &iter)) {
+            gtk_tree_path_free(path);
             path = gtk_tree_model_get_path(model, &iter);
             break;
           }
@@ -918,7 +919,7 @@ sc_navigate_index(girara_session_t* session, 
girara_argument_t* argument,
       break;
     case SELECT:
       cb_index_row_activated(tree_view, path, NULL, zathura);
-
+      gtk_tree_path_free(path);
       return false;
   }
 
-- 
1.7.10.4

_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to