mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 23:19:31 +03:00
fix build with debug and secure both enabled, issue #203
This commit is contained in:
parent
0a77b7423f
commit
9749c83ca0
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ static bool mi_page_is_valid_init(mi_page_t* page) {
|
||||||
bool _mi_page_is_valid(mi_page_t* page) {
|
bool _mi_page_is_valid(mi_page_t* page) {
|
||||||
mi_assert_internal(mi_page_is_valid_init(page));
|
mi_assert_internal(mi_page_is_valid_init(page));
|
||||||
#if MI_SECURE
|
#if MI_SECURE
|
||||||
mi_assert_internal(page->key != 0);
|
mi_assert_internal(page->keys[0] != 0);
|
||||||
#endif
|
#endif
|
||||||
if (mi_page_heap(page)!=NULL) {
|
if (mi_page_heap(page)!=NULL) {
|
||||||
mi_segment_t* segment = _mi_page_segment(page);
|
mi_segment_t* segment = _mi_page_segment(page);
|
||||||
|
|
Loading…
Add table
Reference in a new issue