Fix memory leak with AnimatedImage elements.
authorGunnar Sletta <gunnar.sletta@nokia.com>
Tue, 7 Jun 2011 08:46:00 +0000 (10:46 +0200)
committerGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 9 Jun 2011 07:46:51 +0000 (09:46 +0200)
commit206a299923ca985b9ab8b47550f55a74f5473157
treebbbcc750ad2a77dc8f8696145f3a5a665ff1452e
parentd19f8ffc1ddad91a144f85f0c6aa04fece4bba27
Fix memory leak with AnimatedImage elements.

When textures are constructed from pixmaps, we need to store
the context they were constructed in so that they may also
be cleaned up later.

Change-Id: Ibdf5f60b598914d630c622341fae206f46cb9629
src/declarative/util/qdeclarativepixmapcache.cpp