RegDeleteTree [5]
Juan Lang
juan_lang at yahoo.com
Fri May 18 12:42:26 CDT 2007
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.
--Juan
____________________________________________________________________________________Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
More information about the wine-devel
mailing list