mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
glocalfileinfo: Fix minor leak on error handling path for xattrs
Spotted by `scan-build`. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
543a0c4091
commit
15818926b3
@ -504,7 +504,10 @@ get_xattrs (const char *path,
|
||||
}
|
||||
|
||||
if (list_res_size == -1)
|
||||
return;
|
||||
{
|
||||
g_free (list);
|
||||
return;
|
||||
}
|
||||
|
||||
attr = list;
|
||||
while (list_res_size > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user