[Bug 28737] shell32: invalid free in BrsFolderDlgProc in func_brsfolder in "make brsfolder.ok"?

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 18 14:47:41 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28737

--- Comment #2 from Michael Mc Donnell <michael at mcdonnell.dk> 2011-10-18 14:47:41 CDT ---
Created attachment 36987
  --> http://bugs.winehq.org/attachment.cgi?id=36987
Patch that sets pointer to NULL after free to avoid double free

This patch fixes the valgrind warning by setting the pointer to NULL in case of
failure. I'm not going to send this to wine-patches because it really needs a
test as Piotr Caban says.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list