aboutsummaryrefslogtreecommitdiff
path: root/hdata/test/hdata_to_dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hdata/test/hdata_to_dt.c')
-rw-r--r--hdata/test/hdata_to_dt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c
index 511facd..155e41b 100644
--- a/hdata/test/hdata_to_dt.c
+++ b/hdata/test/hdata_to_dt.c
@@ -357,6 +357,7 @@ int main(int argc, char *argv[])
if(parse_hdat(false) < 0) {
fprintf(stderr, "FATAL ERROR parsing HDAT\n");
+ dt_free(dt_root);
exit(EXIT_FAILURE);
}