Unverified Commit 6617f170 authored by Binbin's avatar Binbin Committed by GitHub
Browse files

Add missing lpFree for listpack test, fix valgrind daily (#11492)

Add missing lpFree, introduced in #11290
parent 4e472a1a
......@@ -2224,6 +2224,7 @@ int listpackTest(int argc, char *argv[], int flags) {
index++;
}
}
lpFree(lp);
}
TEST("lpNextRandom corner cases") {
......@@ -2272,6 +2273,7 @@ int listpackTest(int argc, char *argv[], int flags) {
p = lpNextRandom(lp, p, &i, remaining, 0);
assert(p == p0 || p == p1 || p == p2 || p == NULL);
}
lpFree(lp);
}
TEST("Random pair with one element") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment