Use delete to release header memory. adelikat certified it doesn't break :)
This commit is contained in:
parent
3653a8dfc1
commit
5ed65db952
|
@ -56,7 +56,7 @@ LRESULT Ginfo_OnPaint(HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
EndPaint(hwnd, &ps);
|
EndPaint(hwnd, &ps);
|
||||||
|
|
||||||
free(header);
|
delete header;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue