mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 08:56:16 +01:00
gfileutils: Add missing g_free() in error path
Discovered by static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576
This commit is contained in:
parent
feec280b7c
commit
49a5d0f6f2
@ -2013,7 +2013,7 @@ g_file_read_link (const gchar *filename,
|
||||
set_file_error (error,
|
||||
filename,
|
||||
_("Failed to read the symbolic link '%s': %s"));
|
||||
|
||||
g_free (buffer);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user