Commit bd0fd322 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 0a0f508c
......@@ -178,8 +178,8 @@ cleanup:
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