diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-12-05 13:50:26 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-12-05 13:53:23 -0500 |
commit | 6fdc6cb31319481891b00113c2633d59038fd178 (patch) | |
tree | 53ec97b0a75329c97f9886dfac73f93c44c0f7ca /demos | |
parent | 0c1d46dca532e012c8ae528694dc1575cdbb4b96 (diff) | |
download | gtk+-6fdc6cb31319481891b00113c2633d59038fd178.tar.gz |
gtk-demo: Plug a memory leak
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/shortcuts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/gtk-demo/shortcuts.c b/demos/gtk-demo/shortcuts.c index 69f44c6e43..672998449a 100644 --- a/demos/gtk-demo/shortcuts.c +++ b/demos/gtk-demo/shortcuts.c @@ -22,6 +22,7 @@ show_shortcuts (GtkWidget *window, gtk_window_set_transient_for (GTK_WINDOW (overlay), GTK_WINDOW (window)); g_object_set (overlay, "view-name", view, NULL); gtk_widget_show (overlay); + g_object_unref (builder); } static void |