[try2] wordpad: do not try to close uninitialized handles

Andrey Turkin andrey.turkin at gmail.com
Mon Oct 13 14:42:17 CDT 2008

[another approach with smaller changeset, as James suggested]

Fix some functions where CloseHandle was called not matter if previous
open succeeded or not.
 programs/wordpad/registry.c |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ce47a0057823e187c378cf0d5d3c4d7c402d7c90.diff
Type: text/x-patch
Size: 1883 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081013/adfb54d1/attachment.bin 

More information about the wine-patches mailing list