aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-18 13:53:33 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-18 13:53:33 +0000
commit2e4d88630e57f0e4c3e111a22734a6f98366b245 (patch)
treef4e82368ac4e464d3cb10359240692e9da1bf0cf /src/libserver
parent05d7f7b3ba7684bdee93e6b1e620f2d45c289104 (diff)
downloadrspamd-2e4d88630e57f0e4c3e111a22734a6f98366b245.tar.gz
rspamd-2e4d88630e57f0e4c3e111a22734a6f98366b245.zip
[CritFix] Another errors path handling fix
MFH: rspamd-1.6
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/milter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/milter.c b/src/libserver/milter.c
index 56315102f..f2ced4f0f 100644
--- a/src/libserver/milter.c
+++ b/src/libserver/milter.c
@@ -1002,6 +1002,8 @@ rspamd_milter_handle_session (struct rspamd_milter_session *session,
priv->err_cb (priv->fd, session, priv->ud, err);
REF_RELEASE (session);
g_error_free (err);
+
+ return FALSE;
}
}
else if (r == 0) {
@@ -1011,6 +1013,8 @@ rspamd_milter_handle_session (struct rspamd_milter_session *session,
priv->err_cb (priv->fd, session, priv->ud, err);
REF_RELEASE (session);
g_error_free (err);
+
+ return FALSE;
}
else {
if (r == to_write) {