Skip to content

Commit

Permalink
#99: Fix double free
Browse files Browse the repository at this point in the history
  • Loading branch information
pnoltes committed Sep 10, 2023
1 parent 2811897 commit edf619a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edf619a

Please sign in to comment.