You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2023/09/10 12:18:22 UTC
[celix] 01/04: #99: Fix double free
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch feature/99-update-documentation
in repository https://gitbox.apache.org/repos/asf/celix.git
commit edf619a7aa513f5f41f4fcfd1a749872b19b7dc1
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Sun Sep 10 14:06:41 2023 +0200
#99: Fix double free
---
bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c b/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
index d2ba6ab8..464e6019 100644
--- a/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
+++ b/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
@@ -1299,7 +1299,6 @@ int pubsub_tcpHandler_acceptHandler(pubsub_tcpHandler_t *handle, psa_tcp_connect
#endif
if (rc < 0) {
pubsub_tcpHandler_freeEntry(entry);
- free(entry);
L_ERROR("[TCP Socket] Cannot create epoll\n");
} else {
// Call Accept Connection callback