Aligned nullptr check for heap3. (#493)

Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
This commit is contained in:
Dusan Cervenka 2022-05-17 18:56:01 +02:00 committed by GitHub
parent cf6850583c
commit 1ec8e49de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ void * pvPortMalloc( size_t xWantedSize )
void vPortFree( void * pv ) void vPortFree( void * pv )
{ {
if( pv ) if( pv != NULL )
{ {
vTaskSuspendAll(); vTaskSuspendAll();
{ {