From 7cb5b5ea21951468e707375a79bc632957264f8f Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Tue, 6 Apr 2010 12:21:46 -0700 Subject: [PATCH] Fix error path in prof_dump(). Remove a duplicate prof_leave() call in an error path through prof_dump(). --- jemalloc/src/prof.c | 1 - 1 file changed, 1 deletion(-) diff --git a/jemalloc/src/prof.c b/jemalloc/src/prof.c index 06df2a93..6326188e 100644 --- a/jemalloc/src/prof.c +++ b/jemalloc/src/prof.c @@ -934,7 +934,6 @@ prof_dump(const char *filename, bool leakcheck, bool propagate_err) if (opt_abort) abort(); } - prof_leave(); goto ERROR; }