Don't make MmapWrapper's destructor assert
R=mark at https://breakpad.appspot.com/511002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1098 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
a151d78133
commit
e086f8a9c8
1 changed files with 0 additions and 1 deletions
|
@ -115,7 +115,6 @@ class MmapWrapper {
|
||||||
public:
|
public:
|
||||||
MmapWrapper() : is_set_(false) {}
|
MmapWrapper() : is_set_(false) {}
|
||||||
~MmapWrapper() {
|
~MmapWrapper() {
|
||||||
assert(is_set_);
|
|
||||||
if (base_ != NULL) {
|
if (base_ != NULL) {
|
||||||
assert(size_ > 0);
|
assert(size_ > 0);
|
||||||
munmap(base_, size_);
|
munmap(base_, size_);
|
||||||
|
|
Loading…
Reference in a new issue