mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00

Propagate `n * size` as the size of the failed allocation instead of just `size` when heap_caps_calloc() fails since `n * size` is the actual number of bytes that the heap component tried to allocate.