(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; hPrevBmp = NULL;
} }
if (hTitleBmp) { if (hTitleBmp) {
DeleteObject((HGDIOBJ)hPrevBmp); DeleteObject((HGDIOBJ)hTitleBmp);
hPrevBmp = NULL; hTitleBmp = NULL;
} }
if (nTimer) { if (nTimer) {
KillTimer(hSelDlg, nTimer); KillTimer(hSelDlg, nTimer);