diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-13 17:34:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-13 17:34:43 +0000 |
commit | a57f46c1407e2091357f859299aa8e5e7c0a3e2e (patch) | |
tree | dd974d2419a7e96efc7f29ffb8ed8e788d03432c /src/libserver/worker_util.c | |
parent | e568f3d33b8122ce27ccbc36ca58024274e89bcf (diff) | |
download | rspamd-a57f46c1407e2091357f859299aa8e5e7c0a3e2e.tar.gz rspamd-a57f46c1407e2091357f859299aa8e5e7c0a3e2e.zip |
[Minor] Avoid double free
Diffstat (limited to 'src/libserver/worker_util.c')
-rw-r--r-- | src/libserver/worker_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index 1cdea22c8..97708b464 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -356,6 +356,8 @@ rspamd_worker_stop_accept (struct rspamd_worker *worker) if (map->dtor) { map->dtor (map->dtor_data); } + + map->dtor = NULL; } } |