search-locations-dialog: Stop leaking GError
This commit is contained in:
parent
8f541d0cff
commit
8baa4b159b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue