aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/clamav/clamav-0.99.1/mempool_build_fix.patch
blob: 18ead724d4b16d22ebb02985fc2451b04b155868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: libclamav/readdb.c
===================================================================
--- a/libclamav/readdb.c
+++ b/libclamav/readdb.c
@@ -4163,7 +4163,9 @@ static int cli_loadpwdb(FILE *fs, struct
 
         /* use the tdb to track filetypes and check flevels */
         memset(&tdb, 0, sizeof(tdb));
+#ifdef USE_MPOOL
         tdb.mempool = engine->mempool;
+#endif
         ret = init_tdb(&tdb, engine, attribs, passname);
         free(attribs);
         if(ret != CL_SUCCESS) {