Commit 99e2c4e1 authored by Yoni Fogel's avatar Yoni Fogel

Moved sending signals to after finishing cleanup.

Addresses #149

git-svn-id: file:///svn/tokudb@1051 c7de825b-a66e-492c-adef-691d508d4ae1
parent 21f8e1b3
......@@ -178,8 +178,8 @@ int main(int argc, char *argv[]) {
g.exitcode = EXIT_FAILURE;
fprintf(stderr, "%s: %s: dbenv->close\n", g.progname, db_strerror(retval));
}
resend_signals();
if (g.subdatabase) free(g.subdatabase);
resend_signals();
return g.exitcode;
}
......
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