diff --git a/src/modules/jsonrpcs/jsonrpcs_mod.c b/src/modules/jsonrpcs/jsonrpcs_mod.c index 8049779e55f..a6c56165612 100644 --- a/src/modules/jsonrpcs/jsonrpcs_mod.c +++ b/src/modules/jsonrpcs/jsonrpcs_mod.c @@ -1297,7 +1297,6 @@ static int jsonrpc_dispatch(sip_msg_t* msg, char* s1, char* s2) if (!ctx->reply_sent && !(ctx->flags&JSONRPC_DELAYED_REPLY_F)) { ret = jsonrpc_send(ctx); } - srjson_DeleteDoc(ctx->jreq); jsonrpc_clean_context(ctx); if (ret < 0) return -1; return 1;