mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-20 22:19:30 +03:00
spelling: suspicious
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
83eadd09e9
commit
ddb525d85c
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ static inline bool mi_check_is_double_free(const mi_page_t* page, const mi_block
|
||||||
if (((uintptr_t)n & (MI_INTPTR_SIZE-1))==0 && // quick check: aligned pointer?
|
if (((uintptr_t)n & (MI_INTPTR_SIZE-1))==0 && // quick check: aligned pointer?
|
||||||
(n==NULL || mi_is_in_same_page(block, n))) // quick check: in same page or NULL?
|
(n==NULL || mi_is_in_same_page(block, n))) // quick check: in same page or NULL?
|
||||||
{
|
{
|
||||||
// Suspicous: decoded value a in block is in the same page (or NULL) -- maybe a double free?
|
// Suspicious: decoded value a in block is in the same page (or NULL) -- maybe a double free?
|
||||||
// (continue in separate function to improve code generation)
|
// (continue in separate function to improve code generation)
|
||||||
is_double_free = mi_check_is_double_freex(page, block);
|
is_double_free = mi_check_is_double_freex(page, block);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue