From 23d048bf93916d08a87b41533012a36e25de3d2f Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Tue, 8 Aug 2006 19:25:36 +0200 Subject: [PATCH] fixed bugs causing the imagesig analyser to fail in scanner --- images/io-main.c | 2 ++ images/sig-init.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/images/io-main.c b/images/io-main.c index 0ed20129..c080b60c 100644 --- a/images/io-main.c +++ b/images/io-main.c @@ -60,9 +60,11 @@ image_io_reset(struct image_io *io) image_io_read_cancel(io); image_io_image_destroy(io); struct mempool *pool = io->internal_pool; + struct image_thread *thread = io->thread; mp_flush(pool); bzero(io, sizeof(*io)); io->internal_pool = pool; + io->thread = thread; } int diff --git a/images/sig-init.c b/images/sig-init.c index 091d7d6c..2dba481c 100644 --- a/images/sig-init.c +++ b/images/sig-init.c @@ -7,7 +7,7 @@ * of the GNU Lesser General Public License. */ -#define LOCAL_DEBUG +#undef LOCAL_DEBUG #include "sherlock/sherlock.h" #include "lib/math.h" -- 2.39.2