Fix error path in prof_dump().
Remove a duplicate prof_leave() call in an error path through prof_dump().
This commit is contained in:
parent
fd88bd577e
commit
7cb5b5ea21
@ -934,7 +934,6 @@ prof_dump(const char *filename, bool leakcheck, bool propagate_err)
|
||||
if (opt_abort)
|
||||
abort();
|
||||
}
|
||||
prof_leave();
|
||||
goto ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user