diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-09-10 04:29:24 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-09-10 04:29:24 (GMT) |
commit | 033f7de03ed83cfa68436660e6354cb94452ee25 (patch) | |
tree | cb6e94d2b00babcbeffdc5efe01f1e876bce4e4d /src/declarative/fx/qfxloader.cpp | |
parent | 155f7c91e869092962f23c0e1d793cb82fb7544d (diff) | |
download | Qt-033f7de03ed83cfa68436660e6354cb94452ee25.zip Qt-033f7de03ed83cfa68436660e6354cb94452ee25.tar.gz Qt-033f7de03ed83cfa68436660e6354cb94452ee25.tar.bz2 |
Best to delete pointer before zeroing it.
Diffstat (limited to 'src/declarative/fx/qfxloader.cpp')
-rw-r--r-- | src/declarative/fx/qfxloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxloader.cpp b/src/declarative/fx/qfxloader.cpp index e75ce6d..668faa4 100644 --- a/src/declarative/fx/qfxloader.cpp +++ b/src/declarative/fx/qfxloader.cpp @@ -120,8 +120,8 @@ void QFxLoader::setSource(const QUrl &url) delete d->component; d->component = 0; } - d->item = 0; delete d->item; + d->item = 0; d->source = url; if (d->source.isEmpty()) { |