Small memory leak fix

This commit is contained in:
Zhang Xiaohui 2021-02-08 22:15:00 +08:00 committed by Frank Morgner
parent 66e5600b27
commit 1c4a01d766
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ int main(int argc, char *argv[])
if (c == 0) {
if (0 != gettimeofday(&tv1, NULL)) {
fprintf(stderr, "gettimeofday() failed: %s\n", strerror(errno));
sc_test_cleanup();
return 1;
}
}