Prevent possible leak with texture providers.
authorMichael Brasser <michael.brasser@live.com>
Fri, 25 Jan 2013 16:22:08 +0000 (10:22 -0600)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 25 Jan 2013 21:31:04 +0000 (22:31 +0100)
commitd2491c6e2445f672ac97420d8aa03bd235aad825
tree3f5f940c797fa9900a37a1a74d0ae2f2c3c1ad05
parent6933b7e8e6dc279a8eb34e1f4c60bc109dfb7d26
Prevent possible leak with texture providers.

If the job has been cancelled, ensure we clean up the texture factory
that was created.

Change-Id: I0a6e4a23732e6041084ddc483d701a25befd91c9
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/quick/util/qquickpixmapcache.cpp