diff options
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r-- | src/gui/dialogs/gotox.c | 4 | ||||
-rw-r--r-- | src/gui/dialogs/shellcode.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/dialogs/gotox.c b/src/gui/dialogs/gotox.c index 340da5c..02f1a02 100644 --- a/src/gui/dialogs/gotox.c +++ b/src/gui/dialogs/gotox.c @@ -245,6 +245,8 @@ GtkWidget *create_gotox_dialog_for_entry_points(GtkWindow *parent, GLoadedBinary } + g_object_unref(G_OBJECT(format)); + g_object_unref(G_OBJECT(store)); gtk_dialog_set_response_sensitive(GTK_DIALOG(result), GTK_RESPONSE_OK, has_entry_points); @@ -402,6 +404,8 @@ static void add_new_location_to_list(GtkTreeStore *store, GLoadedBinary *binary, } + g_object_unref(G_OBJECT(format)); + } /* Image de représentation */ diff --git a/src/gui/dialogs/shellcode.c b/src/gui/dialogs/shellcode.c index faf3bdf..5c1a33c 100644 --- a/src/gui/dialogs/shellcode.c +++ b/src/gui/dialogs/shellcode.c @@ -222,6 +222,8 @@ static void export_assistant_close(GtkAssistant *assistant, GObject *ref) */ gtk_widget_destroy(GTK_WIDGET(assistant)); + g_object_unref(G_OBJECT(format)); + } |