From a10e282eb4ea38b400d60aa091594e204b1ccb2a Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 11 Dec 2018 17:02:02 -0500 Subject: [PATCH] Adding a missing free. --- tests/numberparsingcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/numberparsingcheck.cpp b/tests/numberparsingcheck.cpp index 48acfa21..37038a92 100644 --- a/tests/numberparsingcheck.cpp +++ b/tests/numberparsingcheck.cpp @@ -154,7 +154,7 @@ bool validate(const char *dirname) { float_count, invalid_count, int_count + float_count + invalid_count); } - free((void*)p.data()); + free(p.data()); free(fullpath); } }