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:
ted.mielczarek@gmail.com 2013-01-18 13:51:05 +00:00
parent a151d78133
commit e086f8a9c8

View file

@ -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_);