diff --git a/src/stratifier.c b/src/stratifier.c index 7538a8ef..b6370468 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -3488,12 +3488,9 @@ static void ssend_process(ckpool_t *ckp, smsg_t *msg) static void discard_json_params(json_params_t *jp) { - if (likely(jp->method)) - json_decref(jp->method); - if (likely(jp->params)) - json_decref(jp->params); - if (likely(jp->id_val)) - json_decref(jp->id_val); + json_decref(jp->method); + json_decref(jp->params); + json_decref(jp->id_val); free(jp); }