]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The recently added cache data members of the bitmap structure are now initialized...
authorBart Van Assche <bvanassche@acm.org>
Sun, 16 Mar 2008 08:39:19 +0000 (08:39 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 16 Mar 2008 08:39:19 +0000 (08:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7699

exp-drd/drd_bitmap.c

index 26963ee194d69ebb21b51b1dccdc81e5004902bd..2f14b44d92f6320fa48b255907dd6fa6a3986b9f 100644 (file)
@@ -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++;