mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02: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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user