Skip to content

Commit c5e57ca

Browse files
author
Hritik Gupta
committed
fix: added logline for failed malloc
1 parent 6ed0239 commit c5e57ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/iwasm/common/wasm_shared_memory.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ notify_stale_threads_on_exception(WASMModuleInstanceCommon *module_inst)
105105
{
106106
AtomicWaitAddressArgs *args = NULL;
107107
if (!(args = wasm_runtime_malloc(sizeof(AtomicWaitAddressArgs)))) {
108+
LOG_ERROR("failed to create atomic wait address args node");
108109
return;
109110
}
110111

0 commit comments

Comments
 (0)