From 9b9816154629ef27236eca5f1f5dd5dfe31df524 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Wed, 23 Aug 2017 11:04:32 +1000 Subject: core/test/run-device: fix memory leak on exit Shuts LeakSanitizer up Signed-off-by: Stewart Smith --- core/test/run-device.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.1