mirror of git://gcc.gnu.org/git/gcc.git
re PR libstdc++/58737 (leak in std::regex_match)
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. From-SVN: r203610
This commit is contained in:
parent
afb4ac68f0
commit
96937d47ac
|
|
@ -1,3 +1,10 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2013-10-11 H.J. Lu <hongjiu.lu@intel.com>
|
2013-10-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
|
* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
typedef size_t _SizeT;
|
typedef size_t _SizeT;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
virtual
|
||||||
|
~_Automaton()
|
||||||
|
{ }
|
||||||
|
|
||||||
virtual _SizeT
|
virtual _SizeT
|
||||||
_M_sub_count() const = 0;
|
_M_sub_count() const = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
: __flags)
|
: __flags)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
virtual
|
||||||
|
~_Executor()
|
||||||
|
{ }
|
||||||
|
|
||||||
// Set matched when string exactly match the pattern.
|
// Set matched when string exactly match the pattern.
|
||||||
bool
|
bool
|
||||||
_M_match()
|
_M_match()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue