You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2022/11/28 18:22:40 UTC
[GitHub] [celix] pnoltes commented on a diff in pull request #448: Fix several resource leaks and locking issues reported by coverity
pnoltes commented on code in PR #448:
URL: https://github.com/apache/celix/pull/448#discussion_r1033901659
##########
bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:
##########
@@ -607,6 +607,7 @@ int pubsub_tcpHandler_listen(pubsub_tcpHandler_t *handle, char *url) {
}
celixThreadRwlock_unlock(&handle->dbLock);
} else {
+ free(pUrl);
Review Comment:
correct, added close of fd.
--
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: dev-unsubscribe@celix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org