Skip to content

Commit 294564d

Browse files
committed
* Add mutex unlock in error path of ring_webview_bind_callback
1 parent e2b25ed commit 294564d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ring_webview.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ void ring_webview_bind_callback(const char *id, const char *req, void *arg)
6161
// Function not found; clean up and return.
6262
pVM->nSP = nSP_before;
6363
pVM->nFuncSP = nFuncSP_before;
64+
ring_vm_mutexunlock(pVM);
6465
return;
6566
}
6667

0 commit comments

Comments
 (0)