search-locations-dialog: Stop leaking GError

This commit is contained in:
Corey Berla 2024-02-04 20:00:22 -08:00 committed by Matthijs Velsink
parent 8f541d0cff
commit 8baa4b159b

View file

@ -137,7 +137,7 @@ get_bookmarks (CcSearchLocationsDialog *self)
g_autofree gchar *contents = NULL;
g_autofree gchar *path = NULL;
GList *bookmarks = NULL;
GError *error = NULL;
g_autoptr(GError) error = NULL;
path = g_build_filename (g_get_user_config_dir (), "gtk-3.0",
"bookmarks", NULL);