From 6e82619133a972bc775242fc6683d563d9e8f886 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 28 Mar 2002 12:47:47 +0000 Subject: [PATCH] Added needed #ifdef [SVN r13295] --- src/w32_regex_traits.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/w32_regex_traits.cpp b/src/w32_regex_traits.cpp index 71acbb1c..89e37580 100644 --- a/src/w32_regex_traits.cpp +++ b/src/w32_regex_traits.cpp @@ -383,7 +383,9 @@ void BOOST_REGEX_CALL w32_traits_base::do_free() BOOST_RE_GUARD_STACK delete[] pclasses; delete pcoll_names; +#ifndef BOOST_NO_WREGEX delete syntax; +#endif if(hresmod) { FreeLibrary(hresmod);