Skip to content
Snippets Groups Projects
Commit 59ad1d8b authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: fix memory leak

parent e2343f8e
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,7 @@ RegularExpression& RegularExpression::operator= (const RegularExpression& rxp)
}
int ind;
this->progsize = rxp.progsize; // Copy regular expression size
delete [] this->program;
this->program = new char[this->progsize]; // Allocate storage
for(ind=this->progsize; ind-- != 0;) // Copy regular expresion
this->program[ind] = rxp.program[ind];
......
......@@ -4,7 +4,7 @@
SET(KWSYS_DATE_STAMP_YEAR 2008)
# KWSys version date month component. Format is MM.
SET(KWSYS_DATE_STAMP_MONTH 06)
SET(KWSYS_DATE_STAMP_MONTH 07)
# KWSys version date day component. Format is DD.
SET(KWSYS_DATE_STAMP_DAY 06)
SET(KWSYS_DATE_STAMP_DAY 09)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment