aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 12:41:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 17:31:29 +0100
commit121dd2106056508787f8046a89da38becc41c551 (patch)
tree2a3526283defe0f3814f8eedbfb50d1a6a87c4d7 /src
parentfa66761cd5d0e22b7a3fa84e299b22c8e368897c (diff)
downloadrspamd-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.c2
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);
}