mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +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;
|
gboolean ret = FALSE;
|
||||||
GFileAttributeInfoList *attributes = NULL, *namespaces = NULL;
|
GFileAttributeInfoList *attributes = NULL, *namespaces = NULL;
|
||||||
GString *s;
|
GString *s = NULL;
|
||||||
gboolean first;
|
gboolean first;
|
||||||
int i;
|
int i;
|
||||||
gboolean copy_all_attributes;
|
gboolean copy_all_attributes;
|
||||||
|
Loading…
Reference in New Issue
Block a user