diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-23 11:04:32 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-24 12:59:15 +1000 |
commit | 9b9816154629ef27236eca5f1f5dd5dfe31df524 (patch) | |
tree | 7741b9b06211bf3299b06d8291ceb60cc4973553 | |
parent | 276c1431d62548803a68906faba81cf947d2e77d (diff) | |
download | skiboot-9b9816154629ef27236eca5f1f5dd5dfe31df524.zip skiboot-9b9816154629ef27236eca5f1f5dd5dfe31df524.tar.gz skiboot-9b9816154629ef27236eca5f1f5dd5dfe31df524.tar.bz2 |
core/test/run-device: fix memory leak on exit
Shuts LeakSanitizer up
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | core/test/run-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/test/run-device.c b/core/test/run-device.c index 1a4cb1e..326be3f 100644 --- a/core/test/run-device.c +++ b/core/test/run-device.c @@ -443,6 +443,7 @@ int main(void) assert(!(new_prop_ph == ev1_ph)); new_prop_ph = dt_prop_get_u32(ut2, "something"); assert(!(new_prop_ph == ev1_ph)); + dt_free(subtree); return 0; } |