diff options
-rw-r--r-- | examples/plugman.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/plugman.c b/examples/plugman.c index 53f502e3e3..3e7e02aeee 100644 --- a/examples/plugman.c +++ b/examples/plugman.c @@ -359,7 +359,7 @@ configure_plugins (GSimpleAction *action, { g_warning ("%s", error->message); g_error_free (error); - return; + goto out; } dialog = (GtkWidget *)gtk_builder_get_object (builder, "plugin-dialog"); @@ -373,6 +373,9 @@ configure_plugins (GSimpleAction *action, g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy), NULL); gtk_window_present (GTK_WINDOW (dialog)); + +out: + g_object_unref (builder); } static GActionEntry app_entries[] = { |