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:
Colin Walters 2014-07-22 14:00:23 -04:00
parent feec280b7c
commit 49a5d0f6f2

View File

@ -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;
}