From 6cc9d0ffa0b6d9d0f19cf9445fad0e0ba11e38f8 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 12 Dec 2011 22:58:24 +0100 Subject: move safemalloc out of dbug. remeber a real backtrace for every allocation. make safemalloc to tract C++ new/delete too. collateral fixes to make the test suite pass. --- extra/perror.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extra') diff --git a/extra/perror.c b/extra/perror.c index af5d95d3c5b..8621bed3e11 100644 --- a/extra/perror.c +++ b/extra/perror.c @@ -419,6 +419,8 @@ int main(int argc,char *argv[]) if (unknown_error) free(unknown_error); + my_handler_error_unregister(); + my_end(0); exit(error); return error; } -- cgit v1.2.1