Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
98947382
Commit
98947382
authored
Oct 29, 2012
by
Michal 'vorner' Vaner
Browse files
[2209] Comment about assert
parent
b2964261
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory/zone_table_segment_local.cc
View file @
98947382
...
...
@@ -29,6 +29,11 @@ ZoneTableSegmentLocal::ZoneTableSegmentLocal(const RRClass& rrclass) :
}
ZoneTableSegmentLocal
::~
ZoneTableSegmentLocal
()
{
// Explicitly clear the contained data, and check memory
// leak. assert() (with abort on failure) may be too harsh, but
// it's probably better to find more leaks initially. Once it's stabilized
// we should probably revisit it.
ZoneTable
::
destroy
(
mem_sgmt_
,
header_
.
getTable
());
assert
(
mem_sgmt_
.
allMemoryDeallocated
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment