diff options
Diffstat (limited to 'src/gui/menus')
-rw-r--r-- | src/gui/menus/edition.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/menus/edition.c b/src/gui/menus/edition.c index f4b0712..01f24e8 100644 --- a/src/gui/menus/edition.c +++ b/src/gui/menus/edition.c @@ -722,7 +722,7 @@ static void mcb_edition_bookmarks_toggle(GtkMenuItem *menuitem, GMenuBar *bar) exist = NULL;//g_db_collection_has_key(collec, &addr); if (exist != NULL) - g_loaded_binary_remove_from_collection(binary, DBF_BOOKMARKS, exist); + ;//g_loaded_binary_remove_from_collection(binary, DBF_BOOKMARKS, exist); else { @@ -746,7 +746,10 @@ static void mcb_edition_bookmarks_toggle(GtkMenuItem *menuitem, GMenuBar *bar) "Do you want to replace it ?")); if (ret != GTK_RESPONSE_YES) + { + g_object_unref(G_OBJECT(bookmark)); goto mcb_ebt_add_finish; + } } |