]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Another leak plugged
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 16 Jul 2019 17:46:49 +0000 (18:46 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 16 Jul 2019 17:46:49 +0000 (18:46 +0100)
src/libserver/worker_util.c

index 4aff94a38098f10b59b2d23e059bad0b7fe0d84d..99f0f994839cf6b7b36cebf031bd95dd11876235 100644 (file)
@@ -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);
                }
        }
 }