commit | cb9241ae345378b7193b3d7c9621e8abe657faa6 | [log] [tgz] |
---|---|---|
author | Jean-Christophe Dubois <jcd@tribudubois.net> | Mon Jul 11 00:16:52 2016 +0200 |
committer | David Gibson <david@gibson.dropbear.id.au> | Mon Jul 11 11:28:28 2016 +1000 |
tree | 9363e9e7b9c61162031127d28d1c1d4611d9d316 | |
parent | 1ee0ae24ea0985589364a755d33b0159a8b0eee1 [diff] |
DTC: Fix memory leak on flatname. If flatname was not referenced by the "node" structure, the reference to the allocated string is lost at function exit. We need to free it if is not used by "node". Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>