Skip to content

Commit 3a7a5e7

Browse files
committed
fix pointer
1 parent dc75cc4 commit 3a7a5e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mono/browser/runtime/driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ mono_wasm_invoke_jsexport_async_post_cb (MonoMethod *method, void* args)
265265
mono_wasm_invoke_jsexport (method, args);
266266
if (args) {
267267
MonoBoolean *set_receiver_should_free = (MonoBoolean *)(args + 20/*JSMarshalerArgumentOffsets.ReceiverShouldFree*/);
268-
if(set_receiver_should_free != 0){
268+
if(*set_receiver_should_free != 0){
269269
free (args);
270270
}
271271
}

0 commit comments

Comments
 (0)