(cherry picked from commit 53e1a29c265df1489c9bd91deddc0719f8ca2092)
@@ -700,6 +700,11 @@ int update_pua(ua_pres_t *p)
ret_code = -1;
goto done;
}
+ if(uac_r.cb_flags & TMCB_LOCAL_REQUEST_DROP) {
+ shm_free(cb_param);
+ ret_code = 0;
+ goto done;
+ }
} else {
str met = {"SUBSCRIBE", 9};
ua_pres_t *cb_param = NULL;
@@ -624,6 +624,9 @@ send_publish:
LM_ERR("in t_request tm module function\n");
goto error;
done:
ret = 0;