aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-29 12:52:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-29 12:52:53 +0000
commit3ba7a3c53351393685f3cc2bc3c9673c0456013f (patch)
treeca17225c7c2a9b510d261c2202468b2b2dba3240 /src
parent73b7a92d54aa7be83d44d5eddb20e4b92c6e4b02 (diff)
downloadrspamd-3ba7a3c53351393685f3cc2bc3c9673c0456013f.tar.gz
rspamd-3ba7a3c53351393685f3cc2bc3c9673c0456013f.zip
[Fix] Fix crash on scan
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 */