mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-25 06:22:15 +02:00 
			
		
		
		
	glocalfileinfo: Fix a leak on an error handling path
Spotted by Clang static analysis, thanks to Leslie Zhai. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=777075
This commit is contained in:
		| @@ -657,7 +657,10 @@ get_xattrs_from_fd (int                    fd, | ||||
| 	} | ||||
|  | ||||
|       if (list_res_size == -1) | ||||
| 	return; | ||||
|         { | ||||
|           g_free (list); | ||||
|           return; | ||||
|         } | ||||
|  | ||||
|       attr = list; | ||||
|       while (list_res_size > 0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user