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)
|
if (opt_abort)
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
prof_leave();
|
|
||||||
goto ERROR;
|
goto ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user