Skip to content

Commit abcc291

Browse files
committed
coap_session.c: Fix CID 1583554
1 parent ebc693f commit abcc291

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/coap_session.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,7 @@ coap_session_mfree(coap_session_t *session) {
514514
}
515515
#endif /* COAP_SERVER_SUPPORT */
516516
LL_FOREACH_SAFE(session->delayqueue, q, tmp) {
517-
if (q->pdu->type==COAP_MESSAGE_CON && session->context &&
518-
session->context->nack_handler) {
517+
if (q->pdu->type==COAP_MESSAGE_CON && session->context->nack_handler) {
519518
coap_check_update_token(session, q->pdu);
520519
coap_lock_callback(session->context,
521520
session->context->nack_handler(session, q->pdu,

0 commit comments

Comments
 (0)