summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-18 16:10:22 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-19 08:30:15 (GMT)
commit0fac8fc7bf770dcbbe4e93094056c4d2ac994cd9 (patch)
treea741f0a4472e7d715f2462395f704016d7d7368e
parent7ef023246eb7d4d4785a04bef74d79d552ed400b (diff)
downloadQt-0fac8fc7bf770dcbbe4e93094056c4d2ac994cd9.zip
Qt-0fac8fc7bf770dcbbe4e93094056c4d2ac994cd9.tar.gz
Qt-0fac8fc7bf770dcbbe4e93094056c4d2ac994cd9.tar.bz2
Clean up
There is no point in setting class member in destructor Reviewed-by: Kent Hansen
-rw-r--r--src/script/api/qscriptvalue.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/api/qscriptvalue.cpp b/src/script/api/qscriptvalue.cpp
index 7c8bd56..7021cbc 100644
--- a/src/script/api/qscriptvalue.cpp
+++ b/src/script/api/qscriptvalue.cpp
@@ -438,7 +438,6 @@ QScriptValue::~QScriptValue()
eng_p->releaseJSCValue(d_ptr->jscValue);
}
delete d_ptr;
- d_ptr = 0;
}
}