From: Bart Van Assche Date: Sun, 16 Mar 2008 08:39:19 +0000 (+0000) Subject: The recently added cache data members of the bitmap structure are now initialized... X-Git-Tag: svn/VALGRIND_3_4_0~865 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8a100a4576ac2f89f9a263738aeb12482df7d4b;p=thirdparty%2Fvalgrind.git The recently added cache data members of the bitmap structure are now initialized properly. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7699 --- diff --git a/exp-drd/drd_bitmap.c b/exp-drd/drd_bitmap.c index 26963ee194..2f14b44d92 100644 --- a/exp-drd/drd_bitmap.c +++ b/exp-drd/drd_bitmap.c @@ -59,7 +59,9 @@ struct bitmap* bm_new() bm = VG_(malloc)(sizeof(*bm)); tl_assert(bm); - bm->oset = VG_(OSetGen_Create)(0, 0, VG_(malloc), VG_(free)); + bm->last_lookup_a1 = 0; + bm->last_lookup_result = 0; + bm->oset = VG_(OSetGen_Create)(0, 0, VG_(malloc), VG_(free)); s_bitmap_creation_count++;