FreeRTOS-Kernel/portable/ThirdParty/GCC
Florian La Roche c431b358c8
event_create(): check malloc() return value to be non-NULL (#1084)
* event_create(): check malloc() to be non-NULL

Check malloc() to return non-NULL before writing data
in the function event_create().

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>

* Code review suggestion

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-06-07 13:47:13 +05:30
..
ARC_EM_HS CI-CD Updates (#768) 2023-09-05 14:24:04 -07:00
ARC_v1 CI-CD Updates (#768) 2023-09-05 14:24:04 -07:00
ARM_TFM tf-m: Update tf-m to TF-Mv2.0.0 release (#1038) 2024-04-18 17:55:14 +05:30
ATmega Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Posix event_create(): check malloc() return value to be non-NULL (#1084) 2024-06-07 13:47:13 +05:30
RISC-V Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
RP2040 Define portNOP in RP2040 port (#1003) 2024-03-06 16:24:19 +08:00
Xtensa_ESP32 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00