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