projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1709df6
)
0022611: Memory leak in expression interpreter
author
OAN
<>
Fri, 21 Oct 2011 15:53:47 +0000
(15:53 +0000)
committer
bugmaster
<bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:30:46 +0000
(19:30 +0400)
src/ExprIntrp/ExprIntrp.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/ExprIntrp/ExprIntrp.cxx
b/src/ExprIntrp/ExprIntrp.cxx
index
a66dc2f
..
c1cd33d
100755
(executable)
--- a/
src/ExprIntrp/ExprIntrp.cxx
+++ b/
src/ExprIntrp/ExprIntrp.cxx
@@
-28,14
+28,14
@@
Standard_Boolean ExprIntrp::Parse(const Handle(ExprIntrp_Generator)& gen, const
try {
OCC_CATCH_SIGNALS
while (kerror!=0) {
- kerror = ExprIntrpparse();
+
kerror = ExprIntrpparse();
}
+ ExprIntrp_stop_string();
return Standard_True;
}
- catch (Standard_Failure) {
- return Standard_False;
- }
+ catch (Standard_Failure) {}
}
+ ExprIntrp_stop_string();
return Standard_False;
}