msharee9 commented on a change in pull request #674: Minificpp 1007 - ECU C2
integration.
URL: https://github.com/apache/nifi-minifi-cpp/pull/674#discussion_r354605574
##########
File path: extensions/coap/nanofi/coap_server.c
##########
@@ -25,6 +25,7 @@ CoapServerContext * const create_server(const char * const
server_hostname, cons
memset(server, 0x00, sizeof(CoapServerContext));
if (create_endpoint_context(&server->ctx, server_hostname, port)) {
free_server(server);
+ return NULL;
Review comment:
took care of the leak.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services