diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-18 12:29:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-18 12:29:57 +0100 |
commit | 4041c2d64024f27488461e03fcd587dfbb34c4b0 (patch) | |
tree | 9af52fdbc4789fc8f35f164a414431ca37710b43 /utils | |
parent | 1589bd19ff7c841203c548de2c5897e0f0f22c6d (diff) | |
download | rspamd-4041c2d64024f27488461e03fcd587dfbb34c4b0.tar.gz rspamd-4041c2d64024f27488461e03fcd587dfbb34c4b0.zip |
[Minor] Plug some leaks on error paths
Found by: coverity scan
Diffstat (limited to 'utils')
-rw-r--r-- | utils/rspamd_http_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/rspamd_http_server.c b/utils/rspamd_http_server.c index f4b8e3b5f..679ffa0b6 100644 --- a/utils/rspamd_http_server.c +++ b/utils/rspamd_http_server.c @@ -145,6 +145,7 @@ rspamd_server_accept (gint fd, short what, void *arg) } /* Check for EAGAIN */ if (nfd == 0) { + rspamd_inet_address_free (addr); return; } |