summaryrefslogtreecommitdiff
path: root/Source/Preprocessor
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2008-03-17 00:36:35 +0000
committerOlly Betts <olly@survex.com>2008-03-17 00:36:35 +0000
commitf881f98daf3a251a41e2be40035052c0392525dd (patch)
tree05cd0d5149586e67a8eeecfa9dc4355fbb478bee /Source/Preprocessor
parent6f497c280755b642ef655be11ef0a56d12303d90 (diff)
downloadswig-f881f98daf3a251a41e2be40035052c0392525dd.tar.gz
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
Diffstat (limited to 'Source/Preprocessor')
-rw-r--r--Source/Preprocessor/expr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Preprocessor/expr.c b/Source/Preprocessor/expr.c
index 6113851b9..4da24a774 100644
--- a/Source/Preprocessor/expr.c
+++ b/Source/Preprocessor/expr.c
@@ -226,7 +226,6 @@ void Preprocessor_expr_init(void) {
}
void Preprocessor_expr_delete(void) {
- Scanner_clear(scan);
DelScanner(scan);
}