mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
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();
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue