mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
make dcn_json_rpc_request return undefined instead of not returning
this might have been the cause for the second segfault
This commit is contained in:
@@ -3356,6 +3356,7 @@ NAPI_METHOD(dcn_json_rpc_request) {
|
|||||||
NAPI_ARGV_UTF8_MALLOC(request, 1);
|
NAPI_ARGV_UTF8_MALLOC(request, 1);
|
||||||
dc_jsonrpc_request(dcn_accounts->jsonrpc_instance, request);
|
dc_jsonrpc_request(dcn_accounts->jsonrpc_instance, request);
|
||||||
free(request);
|
free(request);
|
||||||
|
NAPI_RETURN_UNDEFINED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user