]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
chimera: fix scratch space handling in shared scratch use case
authorWang, Xiang W <xiang.w.wang@intel.com>
Mon, 21 Jan 2019 08:48:36 +0000 (03:48 -0500)
committerChang, Harry <harry.chang@intel.com>
Mon, 21 Jan 2019 01:59:45 +0000 (09:59 +0800)
chimera/ch_scratch.c

index af49c34d819c7b5d123411ee7503fba53ab0a931..e413efe8c432b3fc4fd8611e0f21cec041169c30 100644 (file)
@@ -216,7 +216,6 @@ ch_error_t HS_CDECL ch_alloc_scratch(const ch_database_t *hydb,
     }
 
     if (db->flags & CHIMERA_FLAG_NO_MULTIMATCH) {
-        (*scratch)->multi_scratch = NULL;
         return CH_SUCCESS;
     }