"Nikolay Sivov" bunglehead@gmail.com wrote:
This fixes a leak spotted by valgrind.
Changelog:
- free window text to prevent leak in case when WM_NCDESTROY
doesn't get to default procedure
Then WM_NCDESTROY handler should be removed from DefWindowProc to avoid a confusing duplication.