diff options
author | António Fernandes <antoniof@gnome.org> | 2020-12-19 17:12:18 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2020-12-19 18:53:13 +0000 |
commit | 39e41cc904a0336e717c9f1f3138e458d1b17207 (patch) | |
tree | d0a946b084c9bea4047195bced65d82b28e207b6 | |
parent | 73daad58ef9e55f15c8bc697d1614aab18ebad29 (diff) | |
download | nautilus-wip/antoniof/template-leaks.tar.gz |
toolbar: Don't leak builder objectwip/antoniof/template-leaks
Leak found in valgrind file provided by nekohayo
-rw-r--r-- | src/nautilus-toolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c index a64518d8e..89ebac72f 100644 --- a/src/nautilus-toolbar.c +++ b/src/nautilus-toolbar.c @@ -892,7 +892,7 @@ on_location_entry_focus_changed (GObject *object, static void nautilus_toolbar_constructed (GObject *object) { - GtkBuilder *builder; + g_autoptr (GtkBuilder) builder = NULL; NautilusToolbar *self = NAUTILUS_TOOLBAR (object); builder = gtk_builder_new_from_resource ("/org/gnome/nautilus/ui/nautilus-toolbar-switcher.ui"); |