"Erich E. Hoover" ehoover@mines.edu writes:
Description: Free the section header memory outside of the uninterrupted section lock. Changing the order here stops the process heap from potentially deadlocking (Bug #30356).
The allocation will still be an issue. I think a better approach would be to avoid any memory allocation in there.