mirror of
https://github.com/ToyB-Chan/minimal-heap.git
synced 2026-07-13 21:51:16 +02:00
Update minimal_heap_implementation.inl
This commit is contained in:
@@ -331,9 +331,6 @@ MIHP_HeapError MIHP_Free(MIHP_Heap* heap, void* ptr)
|
|||||||
|
|
||||||
if (heap->Config.OnHeapCorruptionDetectedFn != NULL)
|
if (heap->Config.OnHeapCorruptionDetectedFn != NULL)
|
||||||
heap->Config.OnHeapCorruptionDetectedFn(heap, corruptionInfo);
|
heap->Config.OnHeapCorruptionDetectedFn(heap, corruptionInfo);
|
||||||
|
|
||||||
MIHP_UnlockHeap(heap);
|
|
||||||
return MIHP_HE_InvalidOperation;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
segment->OccupiedSize = 0;
|
segment->OccupiedSize = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user