summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libc++/src/debug.cpp')
-rw-r--r--contrib/libc++/src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libc++/src/debug.cpp b/contrib/libc++/src/debug.cpp
index 60694a3..b1a16e6 100644
--- a/contrib/libc++/src/debug.cpp
+++ b/contrib/libc++/src/debug.cpp
@@ -214,10 +214,10 @@ __libcpp_db::__erase_i(void* __i)
else
q->__next_ = p->__next_;
__c_node* c = p->__c_;
- free(p);
--__isz_;
if (c != nullptr)
c->__remove(p);
+ free(p);
}
}
}
OpenPOWER on IntegriCloud