mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 14:25:38 +01:00
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
@ -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 New Issue
Block a user