message: fix dangling reference bug in fork_database
diff: @@ -263,7 +263,8 @@ namespace eosio { namespace chain {
  while( nitr != numidx.end() && (*nitr)->block_num == num ) {
  auto itr_to_remove = nitr;
  ++nitr;
  - remove( (*itr_to_remove)->id );
  + auto id = (*itr_to_remove)->id;
  + remove( id );
  }
  }
  