Description
Playing Mine Hunt Declarative demo application causes continuous memory increase. This was checked by playing the Mine Hunt long time in Windows XP and checking the memory consumption in Task Manager. Similar increase is seen also with Symbian QML Components applications (list scrolling and panning and many other cases).
It seems that the count of ScopeChainNode objects (in \Qt\4.7.1\src\3rdparty\javascriptcore\JavaScriptCore\runtime\ScopeChain.h) keeps increasing.
There is also a related suspicious comment in JSFunction.cpp:
scopeChain().~ScopeChain(); // FIXME: Don't we need to do this in the interpreter too?