Skip to content

Commit

Permalink
coap_session.c: Fix CID 1583554
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdeep1 committed Feb 10, 2024
1 parent 2b28d8b commit f9e40fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/coap_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,7 @@ coap_session_mfree(coap_session_t *session) {
}
#endif /* COAP_SERVER_SUPPORT */
LL_FOREACH_SAFE(session->delayqueue, q, tmp) {
if (q->pdu->type==COAP_MESSAGE_CON && session->context &&
session->context->nack_handler) {
if (q->pdu->type==COAP_MESSAGE_CON && session->context->nack_handler) {
coap_check_update_token(session, q->pdu);
coap_lock_callback(session->context,
session->context->nack_handler(session, q->pdu,
Expand Down

0 comments on commit f9e40fc

Please sign in to comment.