Comments (5)
Any other information?
Where is the leak? What code do you run that produces the leak?
Does this bit of code fix the problem?
Original comment by [email protected]
on 29 Dec 2011 at 3:42
from tiny-js.
[deleted comment]
from tiny-js.
When a CScriptException throwed at match function, the memory allocated to
'contents' can not be freed.
And I found several memory leak on catch statement, because the catched
exception is not freed yet.
Please see blow statements.
try {
throw new CScriptException("one");
}
catch (CScriptException* e) {
throw new CScriptException("other");
}
Hope for your reply.Thanks.
Original comment by [email protected]
on 29 Dec 2011 at 4:56
from tiny-js.
Hi, Thanks for your information.
This is definitely a problem, and we could hopefully solve it be surrounding
each call in the interpreter with a try...finally.
However at the moment I feel this is very low priority - exceptions should be
just that - an exception, so if a program is running correctly, then there
should be no memory leaks.
Original comment by [email protected]
on 5 Jan 2012 at 3:02
- Changed state: Accepted
- Added labels: Priority-Low
- Removed labels: Priority-Medium
from tiny-js.
Yes. So it is. I am working on Symbian platform, and a little memory leak can
not be tolerated.
Original comment by [email protected]
on 6 Jan 2012 at 1:54
from tiny-js.
Related Issues (20)
- Null pointer dereference
- Null pointer dereference
- Null pointer dereference
- Null pointer dereference
- Null pointer dereference
- Null pointer dereference
- Null pointer dereference
- heap-use-after-free
- heap-use-after-free
- Null pointer dereference
- Null pointer dereference
- Division Exception
- Null pointer dereference
- Null pointer dereference
- Null pointer dereference
- Null pointer dereference
- heap-use-after-free
- heap-use-after-free HOT 5
- Null pointer dereference
- integer arithmetic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiny-js.