RegDeleteTree [6]
Stefan Leichter
Stefan.Leichter at camline.com
Fri May 18 14:40:43 CDT 2007
Am Friday 18 May 2007 19:42 schrieb Juan Lang:
> Hi Stefan,
>
> + if (ret) return ret;
> +
> + ret = RegDeleteTreeW(hSubKey, lpszName);
> + if (ret) return ret;
>
> you've followed James's advice, but now you leak hSubKey (when it isn't
> hKey) and lpszName (when it isn't szNameBuf.) A goto would be better.
ChangeLog
-------------
added implementation of RegDeleteTreeA/W
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RegDeleteTree.diff
Type: text/x-diff
Size: 4315 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070518/2d601557/RegDeleteTree.bin
More information about the wine-patches
mailing list