Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
h0ru5 committed May 23, 2024
1 parent 7eff180 commit 9db2533
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -2080,6 +2080,10 @@ handle_request(coap_context_t *context, coap_session_t *session, coap_pdu_t *pdu
}
response = NULL;
} else {
if (response) {
coap_delete_pdu(response);
response = NULL;
}
coap_log(LOG_WARNING, "cannot generate response\r\n");
}
} else {
Expand Down

0 comments on commit 9db2533

Please sign in to comment.