https://bugs.winehq.org/show_bug.cgi?id=36794
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Sebastian Lackner from comment #1)
Created attachment 48898 [details] comctl32: Unset window pointer before deallocating the memory (Valgrind).
Can you try this patch, please?
I can't get the bug to reliably occur in wine-1.7.20-122-gd2d62cf or wine-1.7.21.