mirror of
https://github.com/ToyB-Chan/minimal-heap.git
synced 2026-07-13 21:51:16 +02:00
rename and fixed missing unlock
This commit is contained in:
@@ -81,7 +81,7 @@ int main()
|
||||
#if USE_MALLOC
|
||||
myptrs[i] = realloc(myptrs[i], size);
|
||||
#else
|
||||
myptrs[i] = MIHP_Realloc(&myHeap, myptrs[i], size);
|
||||
myptrs[i] = MIHP_Reallocate(&myHeap, myptrs[i], size);
|
||||
MIHP_ValidateHeap(&myHeap);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user