Fix error path in prof_dump().

Remove a duplicate prof_leave() call in an error path through
prof_dump().
This commit is contained in:
Jason Evans 2010-04-06 12:21:46 -07:00
parent fd88bd577e
commit 7cb5b5ea21

View File

@ -934,7 +934,6 @@ prof_dump(const char *filename, bool leakcheck, bool propagate_err)
if (opt_abort) if (opt_abort)
abort(); abort();
} }
prof_leave();
goto ERROR; goto ERROR;
} }