summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-24 12:40:31 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-24 12:41:21 (GMT)
commit262cc0fa04b4e666551fe2051ef83a4913129d10 (patch)
tree19324246c5ce94d8d51409e7d447a8b88dc4edc6
parentb01118f244ec45685407ebd393b1e44af8360add (diff)
downloadQt-262cc0fa04b4e666551fe2051ef83a4913129d10.zip
Qt-262cc0fa04b4e666551fe2051ef83a4913129d10.tar.gz
Qt-262cc0fa04b4e666551fe2051ef83a4913129d10.tar.bz2
fix memory leak
Introduced in commit 38e0c07a78fb585e23c4ff8947be737a28b2257c Reviewed-by: Olivier Goffart
-rw-r--r--src/script/api/qscriptvalue_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/api/qscriptvalue_p.h b/src/script/api/qscriptvalue_p.h
index ee471c7..cb4f1ba 100644
--- a/src/script/api/qscriptvalue_p.h
+++ b/src/script/api/qscriptvalue_p.h
@@ -95,7 +95,6 @@ public:
{
QScriptValue tmp;
tmp.d_ptr = d;
- d->ref.ref();
return tmp;
}