Memory leak in QScriptEngineAgent.
authorOlivier Goffart <ogoffart@trolltech.com>
Tue, 25 Aug 2009 07:45:20 +0000 (09:45 +0200)
committerOlivier Goffart <ogoffart@trolltech.com>
Tue, 25 Aug 2009 08:36:35 +0000 (10:36 +0200)
commita5a215eefff176eda3b1bb97ee70abfbab20f054
tree2a66bc6d4727aa31217a975383191ed67abc9f1f
parent5e43eb85043395655155edb5206de15024e3fb71
Memory leak in QScriptEngineAgent.

The documentation of the agent constructor specify that the agant is
owned by the engine. Even if the agent is not set to the engine

Reviewed-by: Kent Hansen
src/script/api/qscriptengine.cpp
src/script/api/qscriptengineagent.cpp
tests/auto/qscriptengine/tst_qscriptengine.cpp