diff --git a/portable/MemMang/heap_3.c b/portable/MemMang/heap_3.c index 8ed3d1b4f..671705bf5 100644 --- a/portable/MemMang/heap_3.c +++ b/portable/MemMang/heap_3.c @@ -82,7 +82,7 @@ void * pvPortMalloc( size_t xWantedSize ) void vPortFree( void * pv ) { - if( pv ) + if( pv != NULL ) { vTaskSuspendAll(); {