aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/stl_tempbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/stl_tempbuf.h')
-rw-r--r--libstdc++-v3/include/bits/stl_tempbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/stl_tempbuf.h b/libstdc++-v3/include/bits/stl_tempbuf.h
index 1fa5afcda17..0526c0d7706 100644
--- a/libstdc++-v3/include/bits/stl_tempbuf.h
+++ b/libstdc++-v3/include/bits/stl_tempbuf.h
@@ -125,7 +125,7 @@ public:
}
catch(...)
{
- free(_M_buffer);
+ std::free(_M_buffer);
_M_buffer = 0;
_M_len = 0;
__throw_exception_again;
@@ -134,7 +134,7 @@ public:
~_Temporary_buffer() {
std::_Destroy(_M_buffer, _M_buffer + _M_len);
- free(_M_buffer);
+ std::free(_M_buffer);
}
private: