WMF: don't return undefined value in Release() function.
authorYoann Lopes <yoann.lopes@digia.com>
Mon, 7 Apr 2014 12:33:32 +0000 (14:33 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 7 Apr 2014 22:03:44 +0000 (00:03 +0200)
commit47d2ed915eebff7016fd99bec9c3d6187240edd6
treea08eb509e02e9f70ad9ea48ac3c14be5f8f1471d
parent5ff2f4c52d77798063afbd2117ee1a06942f3612
WMF: don't return undefined value in Release() function.

The function was returning a member variable after the object was
deleted. Return a local copy instead.

Change-Id: I077e7e1c184ed0cfd4899a80c9147a2939c93cd7
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/wmf/mfactivate.cpp