SkinPackager: Fixed leak

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

View File

@ -768,7 +768,9 @@ INT_PTR CALLBACK CDialogPackage::SelectPluginDlgProc(HWND hWnd, UINT uMsg, WPARA
EnableWindow(GetDlgItem(hWnd, IDOK), TRUE);
}
break;
}
}
ImageUnload(loadedImage);
}
MessageBox(hWnd, L"Invalid plugin.", L"Rainmeter Skin Packager", MB_OK | MB_TOPMOST);