Commit 6457677b authored by Simon McVittie's avatar Simon McVittie

g_key_file_get_string_list: don't leak the pieces on error

Signed-off-by: Simon McVittie's avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113Reviewed-by: default avatarEmmanuele Bassi <ebassi@linux.intel.com>
parent a1bd6e07
......@@ -1970,6 +1970,7 @@ g_key_file_get_string_list (GKeyFile *key_file,
else
g_propagate_error (error, key_file_error);
g_slist_free_full (pieces, g_free);
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment