Description: fix memory issues in code related to bookmarks
Origin: http://git.pwmt.org/?p=zathura.git;a=commit;h=b8baec909c21db68ca05ed863f6da8c8542beb4a
Last-Update: 2011-02-25

--- a/zathura.c
+++ b/zathura.c
@@ -1063,6 +1063,7 @@ close_file(gboolean keep_monitor)
       g_free(Zathura.Bookmarks.bookmarks[i].id);
     }
     free(Zathura.Bookmarks.bookmarks);
+    Zathura.Bookmarks.bookmarks = NULL;
     Zathura.Bookmarks.number_of_bookmarks = 0;
 
     /* convert file and save it */

