comdlg32: Fix a leak.

Ken Thomases ken at
Mon Dec 19 21:59:39 CST 2011

The code was only calling MemFree when the pointer was already NULL, as
opposed to when it was non-NULL.  The test was unnecessary, anyway.
dlls/comdlg32/filedlg.c |    3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comdlg32-Fix-a-leak.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list