If the count is zero in the heap_malloc_free test, a div by zero would happen, so add a condition to handle this potential error. Signed-off-by: Chen Peng1 <peng1.chen@intel.com> |
||
|---|---|---|
| .. | ||
| coop_ctx_switch.c | ||
| heap_malloc_free.c | ||
| int_to_thread_evt.c | ||
| int_to_thread.c | ||
| main.c | ||
| mutex_lock_unlock.c | ||
| sema_test_signal_release.c | ||
| thread_switch_yield.c | ||
| thread.c | ||
| utils.h | ||