[cache_dump] Only dump the hints array if it exists.
Fixes a null shared ptr bug.
This commit is contained in:
parent
dcf70ba004
commit
ecf6692d0f
@ -122,7 +122,7 @@ caching::metadata_dump(metadata::ptr md, emitter::ptr e, bool repair)
|
||||
|
||||
// walk hints
|
||||
e->begin_hints();
|
||||
{
|
||||
if (md->hints_) {
|
||||
using namespace hint_array_damage;
|
||||
|
||||
hint_emitter he(e, valid_blocks);
|
||||
|
Loading…
Reference in New Issue
Block a user