diff options
| author | Daniël van de Giessen <daniel@dvdgiessen.nl> | 2024-03-11 17:32:13 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-03-25 12:19:00 +1100 |
| commit | a0efe2d368456ec35c32d439d121cf8d7557bbd0 (patch) | |
| tree | 13198b65783fedf26edf07ee1a7190b940a88010 /extmod/network_wiznet5k.c | |
| parent | 35f3f0a87db2580041dd0f7dfd4361df48887796 (diff) | |
esp32/main: Check if main GC heap allocation failed.
If the heap allocation fails we will crash if we continue, so at least we
can show a clear error message so one can figure out memory allocation was
the problem (instead of just seeing some arbitrary null pointer error
later).
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
Diffstat (limited to 'extmod/network_wiznet5k.c')
0 files changed, 0 insertions, 0 deletions
