summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <joe@manyfish.uk>2020-06-17 18:54:29 +0100
committerJoe Orton <jorton@apache.org>2020-06-18 08:01:27 +0100
commit47e76a063b1f1be80adcaf8f08175927499cb4cc (patch)
tree04f6bee70cd35d68bb96c66dbc907469a2e7bd69
parentb243cffee00d442204e622fe5df1623214e098d0 (diff)
downloadneon-git-47e76a063b1f1be80adcaf8f08175927499cb4cc.tar.gz
* test/string-tests.c (strparam): Fix test code memory leak.
-rw-r--r--test/string-tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/string-tests.c b/test/string-tests.c
index 0be11dd..5a76efb 100644
--- a/test/string-tests.c
+++ b/test/string-tests.c
@@ -709,6 +709,7 @@ static int strparam(void)
}
else {
ONCMP(act, ts[n].expect);
+ ne_free(act);
}
}