diff options
-rw-r--r-- | src/libserver/fuzzy_backend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/fuzzy_backend.c b/src/libserver/fuzzy_backend.c index 3dec60c57..c9c16297d 100644 --- a/src/libserver/fuzzy_backend.c +++ b/src/libserver/fuzzy_backend.c @@ -304,6 +304,8 @@ rspamd_fuzzy_backend_create (struct event_base *ev_base, if ((bk->subr_ud = bk->subr->init (bk, config, cfg, err)) == NULL) { g_slice_free1 (sizeof (*bk), bk); + + return NULL; } return bk; |