mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
GFile: fix uninitialised variable
clang cause the fact that some of our 'goto out;' cases cause use to try and free an uninitialised GString. Fix that up.
This commit is contained in:
parent
51b3dd7332
commit
c09cfc1c8a
@ -2633,7 +2633,7 @@ build_attribute_list_for_copy (GFile *file,
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
GFileAttributeInfoList *attributes = NULL, *namespaces = NULL;
|
||||
GString *s;
|
||||
GString *s = NULL;
|
||||
gboolean first;
|
||||
int i;
|
||||
gboolean copy_all_attributes;
|
||||
|
Loading…
Reference in New Issue
Block a user