From: Wang, Xiang W Date: Mon, 21 Jan 2019 08:48:36 +0000 (-0500) Subject: chimera: fix scratch space handling in shared scratch use case X-Git-Tag: v5.1.0^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eda1871f86759f0b73e9e076d9b203f0e5a4593b;p=thirdparty%2Fvectorscan.git chimera: fix scratch space handling in shared scratch use case --- diff --git a/chimera/ch_scratch.c b/chimera/ch_scratch.c index af49c34d..e413efe8 100644 --- a/chimera/ch_scratch.c +++ b/chimera/ch_scratch.c @@ -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; }