summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Evans <je@facebook.com>2010-04-06 19:21:46 (GMT)
committerJason Evans <je@facebook.com>2010-04-06 19:21:46 (GMT)
commit7cb5b5ea21951468e707375a79bc632957264f8f (patch)
treebe59f8314733c85062f7b53db178da34b5bd8b67
parentfd88bd577ef23b1580f19dd82b810a66ec2230cd (diff)
downloadjemalloc-7cb5b5ea21951468e707375a79bc632957264f8f.zip
jemalloc-7cb5b5ea21951468e707375a79bc632957264f8f.tar.gz
jemalloc-7cb5b5ea21951468e707375a79bc632957264f8f.tar.bz2
Fix error path in prof_dump().
Remove a duplicate prof_leave() call in an error path through prof_dump().
-rw-r--r--jemalloc/src/prof.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/jemalloc/src/prof.c b/jemalloc/src/prof.c
index 06df2a9..6326188 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;
}