Commit 8da51f50 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2936] Handle rare relocation

parent 52588836
......@@ -80,7 +80,13 @@ public:
isc_throw(isc::InvalidOperation, "A ZoneDataUpdater already exists"
" on this memory segment. Destroy it first.");
mem_sgmt_.setNamedAddress("updater_zone_data", zone_data_);
if (mem_sgmt_.setNamedAddress("updater_zone_data", zone_data_)) {
// It might have relocated during the set
zone_data_ =
/// The destructor.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment