aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libserver/symbols_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c
index e02c251d9..0e270f499 100644
--- a/src/libserver/symbols_cache.c
+++ b/src/libserver/symbols_cache.c
@@ -270,8 +270,9 @@ rspamd_symbols_cache_resort (struct symbols_cache *cache)
if (cache->items_by_order) {
REF_RELEASE (cache->items_by_order);
- cache->items_by_order = ord;
}
+
+ cache->items_by_order = ord;
}
/* Sort items in logical order */