eCos: fixing gfxFree() routine
This commit is contained in:
parent
326e246b77
commit
c8342a0d25
@ -73,7 +73,7 @@ void gfxSleepMilliseconds(delaytime_t ms);
|
||||
void gfxSleepMicroseconds(delaytime_t ms);
|
||||
|
||||
#define gfxAlloc(sz) malloc(sz)
|
||||
#define gfxFree(ptr) free(sz)
|
||||
#define gfxFree(ptr) free(ptr)
|
||||
#define gfxRealloc(ptr, oldsz, newsz) realloc(ptr, newsz)
|
||||
|
||||
#define gfxSystemLock() cyg_scheduler_lock()
|
||||
|
Loading…
Reference in New Issue
Block a user