Skip to content
Snippets Groups Projects
Commit a7da3f66 authored by Oliver Sander's avatar Oliver Sander
Browse files

Fix a typo in the UG_USE_SYSTEM_HEAP macro

I had simply misspelled it in the DisposeMem method.
It's a surprise the program never crashed with such a severe
bug in it.
parent 5998890c
No related branches found
No related tags found
No related merge requests found
......@@ -461,7 +461,7 @@ void *NS_PREFIX GetMemUsingKey (HEAP *theHeap, MEM n, HeapAllocMode mode, INT ke
void NS_PREFIX DisposeMem (HEAP *theHeap, void *buffer)
{
#if US_USE_SYSTEM_HEAP
#if UG_USE_SYSTEM_HEAP
free(buffer);
#else
BLOCK *newBlock,*theBlock,*nextBlock;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment