aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamd_proxy.c')
-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);
}