summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/script/api/qscriptprogram.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/script/api/qscriptprogram.cpp b/src/script/api/qscriptprogram.cpp
index 2746c44..96760ba 100644
--- a/src/script/api/qscriptprogram.cpp
+++ b/src/script/api/qscriptprogram.cpp
@@ -44,14 +44,16 @@
#include "qscriptengine.h"
#include "qscriptengine_p.h"
+#include "Executable.h"
+
QT_BEGIN_NAMESPACE
/*!
+ \internal
+
\since 4.6
\class QScriptProgram
- \brief The QScriptProgram class ...
-
\ingroup script
*/
@@ -66,6 +68,7 @@ QScriptProgramPrivate::QScriptProgramPrivate(QScriptEnginePrivate *e,
QScriptProgramPrivate::~QScriptProgramPrivate()
{
+ delete executable;
}
QScriptProgramPrivate *QScriptProgramPrivate::get(const QScriptProgram &q)