Fix memory leak in SWIG's parser (based on patch from Russell

Bryant in SF#1914023).`


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2008-03-17 00:36:35 +00:00
commit f881f98daf
4 changed files with 13 additions and 6 deletions

View file

@ -226,7 +226,6 @@ void Preprocessor_expr_init(void) {
}
void Preprocessor_expr_delete(void) {
Scanner_clear(scan);
DelScanner(scan);
}