diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-16 18:46:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-16 18:46:49 +0100 |
commit | 5288d2b722a9e5c14658a84dccc18e7c1a8c21b5 (patch) | |
tree | 89eaec877491719dda63e2bd3ff1ade95b056808 /src/libserver | |
parent | 527cc9ebad105aedf9382eacf1f708c9aeef4195 (diff) | |
download | rspamd-5288d2b722a9e5c14658a84dccc18e7c1a8c21b5.tar.gz rspamd-5288d2b722a9e5c14658a84dccc18e7c1a8c21b5.zip |
[Minor] Another leak plugged
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/worker_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index 4aff94a38..99f0f9948 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -241,6 +241,7 @@ rspamd_worker_signal_handle (EV_P_ ev_signal *w, int revents) DL_FOREACH_SAFE (sigh->cb, cb, cbtmp) { if (!cb->handler (sigh, cb->handler_data)) { DL_DELETE (sigh->cb, cb); + g_free (cb); } } } |