commit | 1ec8e49de4c5de50ffe71554e7e600257dec1f4b | [log] [tgz] |
---|---|---|
author | Dusan Cervenka <Cervenka.dusan@gmail.com> | Tue May 17 18:56:01 2022 +0200 |
committer | GitHub <noreply@github.com> | Tue May 17 22:26:01 2022 +0530 |
tree | 2454e1fd090694c6fa7eff1fb688637eceb4dddd | |
parent | cf6850583c7c7b69726531dd56fa0264159f1750 [diff] |
Aligned nullptr check for heap3. (#493) Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
diff --git a/portable/MemMang/heap_3.c b/portable/MemMang/heap_3.c index 8ed3d1b..671705b 100644 --- a/portable/MemMang/heap_3.c +++ b/portable/MemMang/heap_3.c
@@ -82,7 +82,7 @@ void vPortFree( void * pv ) { - if( pv ) + if( pv != NULL ) { vTaskSuspendAll(); {