(update) Fixed memory leak in preview / title display module (CaptainCPS)
This commit is contained in:
parent
9ccc80fb75
commit
cd635cb634
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue