(update) Fixed memory leak in preview / title display module (CaptainCPS)

This commit is contained in:
CaptainCPS-X 2013-02-21 21:01:45 +00:00
parent 9ccc80fb75
commit cd635cb634
1 changed files with 2 additions and 2 deletions

View File

@ -764,8 +764,8 @@ static void RefreshPanel()
hPrevBmp = NULL;
}
if (hTitleBmp) {
DeleteObject((HGDIOBJ)hPrevBmp);
hPrevBmp = NULL;
DeleteObject((HGDIOBJ)hTitleBmp);
hTitleBmp = NULL;
}
if (nTimer) {
KillTimer(hSelDlg, nTimer);