mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
parent
bd261c05f1
commit
cb723a5960
@ -1632,9 +1632,9 @@ static void *_umm_realloc( void *ptr, size_t size ) {
|
|||||||
|
|
||||||
if( (ptr = _umm_malloc( size )) ) {
|
if( (ptr = _umm_malloc( size )) ) {
|
||||||
memcpy( ptr, oldptr, curSize );
|
memcpy( ptr, oldptr, curSize );
|
||||||
|
_umm_free( oldptr );
|
||||||
}
|
}
|
||||||
|
|
||||||
_umm_free( oldptr );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Release the critical section... */
|
/* Release the critical section... */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user