summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits/regex_executor.h
diff options
context:
space:
mode:
authortimshen <timshen@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-15 15:01:44 +0000
committertimshen <timshen@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-15 15:01:44 +0000
commitc6329bfee6ea7e451543ce3b64fcbb42e62da160 (patch)
tree89cf46ca4ad0cf55cbb82aee2d6d7a9767a3304c /libstdc++-v3/include/bits/regex_executor.h
parent850659323a3d5f340fa87d4754820d329b699598 (diff)
downloadppe42-gcc-c6329bfee6ea7e451543ce3b64fcbb42e62da160.tar.gz
ppe42-gcc-c6329bfee6ea7e451543ce3b64fcbb42e62da160.zip
2013-10-15 Tim Shen <timshen91@gmail.com>
PR libstdc++/58737 * include/bits/regex_automaton.h (_Automaton<>::~_Automaton): Fix memory leak by adding it. * include/bits/regex_executor.h (_Executor<>::~_Executor): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203610 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/regex_executor.h')
-rw-r--r--libstdc++-v3/include/bits/regex_executor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/regex_executor.h b/libstdc++-v3/include/bits/regex_executor.h
index 462643779f2..23b5d011545 100644
--- a/libstdc++-v3/include/bits/regex_executor.h
+++ b/libstdc++-v3/include/bits/regex_executor.h
@@ -83,6 +83,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
: __flags)
{ }
+ virtual
+ ~_Executor()
+ { }
+
// Set matched when string exactly match the pattern.
bool
_M_match()
OpenPOWER on IntegriCloud