Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shared memory: Fix unsafe shm_free() when debugging
When HP_MALLOC was included in the build, the F_MALLOC_DBG and Q_MALLOC_DBG allocators were broken, since their shm_free() operation was purely lockless and could corrupt the memory at any time. (cherry picked from commit 24b0735)
- Loading branch information
1 parent
7f05359
commit a433b47
Showing
1 changed file
with
70 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters