diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 12:41:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 17:31:29 +0100 |
commit | 121dd2106056508787f8046a89da38becc41c551 (patch) | |
tree | 2a3526283defe0f3814f8eedbfb50d1a6a87c4d7 /src | |
parent | fa66761cd5d0e22b7a3fa84e299b22c8e368897c (diff) | |
download | rspamd-121dd2106056508787f8046a89da38becc41c551.tar.gz rspamd-121dd2106056508787f8046a89da38becc41c551.zip |
[Fix] Fix results checking if no master connection is active
Diffstat (limited to 'src')
-rw-r--r-- | src/rspamd_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 65339b3d5..8290795f8 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -819,7 +819,7 @@ proxy_session_dtor (struct rspamd_proxy_session *session) } } - if (session->master_conn->results) { + if (session->master_conn && session->master_conn->results) { ucl_object_unref (session->master_conn->results); } |