mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-19 05:59:05 +03:00
coap_session.c: Fix CID 1583554
This commit is contained in:
1 parent
ebc693fec0
commit
abcc291c3f
1 file changed
+1
-2
+1
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user