mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-16 12:45:13 +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,
|
set_file_error (error,
|
||||||
filename,
|
filename,
|
||||||
_("Failed to read the symbolic link '%s': %s"));
|
_("Failed to read the symbolic link '%s': %s"));
|
||||||
|
g_free (buffer);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user