pkarashchenko commented on code in PR #6956: URL: https://github.com/apache/incubator-nuttx/pull/6956#discussion_r960267262
########## net/tcp/tcp_close.c: ########## @@ -175,11 +178,15 @@ static uint16_t tcp_close_eventhandler(FAR struct net_driver_s *dev, return flags; end_wait: - tcp_callback_free(conn, conn->clscb); + if (conn->clscb) Review Comment: optional ```suggestion if (conn->clscb != NULL) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org