diff options
-rw-r--r-- | src/libserver/rspamd_symcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/rspamd_symcache.c b/src/libserver/rspamd_symcache.c index 832c5237b..d5022cedd 100644 --- a/src/libserver/rspamd_symcache.c +++ b/src/libserver/rspamd_symcache.c @@ -1157,6 +1157,8 @@ rspamd_symcache_add_symbol (struct rspamd_symcache *cache, else { item->is_virtual = TRUE; item->specific.virtual.parent = parent; + item->specific.virtual.parent_item = + g_ptr_array_index (cache->items_by_id, parent); item->id = cache->virtual->len; g_ptr_array_add (cache->virtual, item); item->container = cache->virtual; |