Aligned nullptr check for heap3. (#493)
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
This commit is contained in:
parent
cf6850583c
commit
1ec8e49de4
@ -82,7 +82,7 @@ void * pvPortMalloc( size_t xWantedSize )
|
|||||||
|
|
||||||
void vPortFree( void * pv )
|
void vPortFree( void * pv )
|
||||||
{
|
{
|
||||||
if( pv )
|
if( pv != NULL )
|
||||||
{
|
{
|
||||||
vTaskSuspendAll();
|
vTaskSuspendAll();
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user