file_list: Fix memory leak in failure path
In case of a parse error not only the list header has to be freed, but
also the entries. Use file_list_free() for this purpose.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9710d39 commit 6d328ea1369f42b6a5658d548461991585534631
@Sascha Hauer Sascha Hauer authored on 27 Sep 2017
Showing 1 changed file
View
common/file-list.c