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:
Simon Laux
2022-07-03 20:29:34 +02:00
parent 9d83057a71
commit 8776767a44

View File

@@ -3356,6 +3356,7 @@ NAPI_METHOD(dcn_json_rpc_request) {
NAPI_ARGV_UTF8_MALLOC(request, 1);
dc_jsonrpc_request(dcn_accounts->jsonrpc_instance, request);
free(request);
NAPI_RETURN_UNDEFINED();
}