summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/src/strstream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libstdc++/src/strstream.cc')
-rw-r--r--contrib/libstdc++/src/strstream.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/libstdc++/src/strstream.cc b/contrib/libstdc++/src/strstream.cc
index 5bbb33a..f221454 100644
--- a/contrib/libstdc++/src/strstream.cc
+++ b/contrib/libstdc++/src/strstream.cc
@@ -311,10 +311,12 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
strstreambuf::_M_free(char* p)
{
if (p)
- if (_M_free_fun)
- _M_free_fun(p);
- else
- delete[] p;
+ {
+ if (_M_free_fun)
+ _M_free_fun(p);
+ else
+ delete[] p;
+ }
}
void
OpenPOWER on IntegriCloud