SkinPackager: Fixed leak

This commit is contained in:
Birunthan Mohanathas 2012-11-12 17:45:33 +02:00
parent 4986403f86
commit 463c3a0ce4

View File

@ -769,6 +769,8 @@ INT_PTR CALLBACK CDialogPackage::SelectPluginDlgProc(HWND hWnd, UINT uMsg, WPARA
}
break;
}
ImageUnload(loadedImage);
}
MessageBox(hWnd, L"Invalid plugin.", L"Rainmeter Skin Packager", MB_OK | MB_TOPMOST);