Fix gfxRealloc bug for RAW32 (and derivitives)
This commit is contained in:
parent
0f3310dd34
commit
6a69c5673f
2 changed files with 3 additions and 2 deletions
|
@ -44,6 +44,7 @@ FEATURE: Added support for ChibiOS Kernel V5
|
||||||
FEATURE: Added WS29EPD WaveShare E-Paper display
|
FEATURE: Added WS29EPD WaveShare E-Paper display
|
||||||
FIX: Fixed GQUEUE full synchronous function signatures
|
FIX: Fixed GQUEUE full synchronous function signatures
|
||||||
CHANGE: Removed label widget auto-sizing during redraw. It will still auto-size during creation
|
CHANGE: Removed label widget auto-sizing during redraw. It will still auto-size during creation
|
||||||
|
FIX: Fixed realloc bug for RAW32 (and derivitives)
|
||||||
|
|
||||||
|
|
||||||
*** Release 2.8 ***
|
*** Release 2.8 ***
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
|
|
||||||
// We need to do this the hard way
|
// We need to do this the hard way
|
||||||
pfree = gfxAlloc(sz);
|
pfree = gfxAlloc(sz);
|
||||||
if (pfree)
|
if (!pfree)
|
||||||
return 0;
|
return 0;
|
||||||
memcpy(pfree, ptr, p->sz - sizeof(memslot));
|
memcpy(pfree, ptr, p->sz - sizeof(memslot));
|
||||||
gfxFree(ptr);
|
gfxFree(ptr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue