fixed debug iterator assert
This commit is contained in:
parent
cab1f3d207
commit
38889d4bda
|
@ -5367,6 +5367,7 @@ ctx->set_verify_callback(verify_function, ec);
|
|||
// for some weird reason valgrind claims these are uninitialized
|
||||
// unless it's zeroed out here (block_info has a construct that's
|
||||
// supposed to initialize it)
|
||||
if (!blk.empty())
|
||||
memset(&blk[0], 0, sizeof(blk[0]) * blk.size());
|
||||
|
||||
int counter = 0;
|
||||
|
|
Loading…
Reference in New Issue