diff --git a/stepmania/src/RageUtil.cpp b/stepmania/src/RageUtil.cpp index 9c303ffc24..465fe9bf5e 100644 --- a/stepmania/src/RageUtil.cpp +++ b/stepmania/src/RageUtil.cpp @@ -627,13 +627,13 @@ void Regex::Compile() if(pattern[i] == '(') backrefs++; ASSERT(backrefs+1 < 128); } + void Regex::Release() { delete (regex_t *)reg; reg = NULL; } - Regex::Regex(const CString &pattern_) { reg = NULL;