diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-24 14:22:12 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-24 14:22:12 +0000 |
commit | 841633cfeca9acf9a691f16760c2d7c06202664f (patch) | |
tree | a7dea03e599f1df7a62d6c6a7cec0629b9dbc628 /server.c | |
parent | ddf7a437de12fab9e000e5b555fdbf1891632dad (diff) |
plug memory leak in client_close_ev
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1267,6 +1267,8 @@ client_close_ev(int fd, short event, void *d) close(c->fd); c->fd = -1; + + free(c); } static void |