eCos: fixing gfxFree() routine
This commit is contained in:
parent
326e246b77
commit
c8342a0d25
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ void gfxSleepMilliseconds(delaytime_t ms);
|
||||||
void gfxSleepMicroseconds(delaytime_t ms);
|
void gfxSleepMicroseconds(delaytime_t ms);
|
||||||
|
|
||||||
#define gfxAlloc(sz) malloc(sz)
|
#define gfxAlloc(sz) malloc(sz)
|
||||||
#define gfxFree(ptr) free(sz)
|
#define gfxFree(ptr) free(ptr)
|
||||||
#define gfxRealloc(ptr, oldsz, newsz) realloc(ptr, newsz)
|
#define gfxRealloc(ptr, oldsz, newsz) realloc(ptr, newsz)
|
||||||
|
|
||||||
#define gfxSystemLock() cyg_scheduler_lock()
|
#define gfxSystemLock() cyg_scheduler_lock()
|
||||||
|
|
Loading…
Add table
Reference in a new issue