Merge pull request #5398 from bmerry/fix-zrealloc-accounting

Fix incorrect memory usage accounting in zrealloc
This commit is contained in:
Salvatore Sanfilippo
2018-10-01 13:28:53 +02:00
committed by GitHub
3 changed files with 23 additions and 1 deletions

View File

@ -4019,6 +4019,8 @@ int main(int argc, char **argv) {
return endianconvTest(argc, argv);
} else if (!strcasecmp(argv[2], "crc64")) {
return crc64Test(argc, argv);
} else if (!strcasecmp(argv[2], "zmalloc")) {
return zmalloc_test(argc, argv);
}
return -1; /* test not found */