[1/2] advapi32/tests: test_enum_provider_types test cleanup

Nicolas Le Cam niko.lecam at gmail.com
Thu Nov 6 10:05:04 CST 2008


Hi,

Previous patch is here [1] for reference.

This is now a series of two patches. First patch try to cleanup the
test_enum_provider_types test a little bit by :
	* Avoiding memory leaks
	* Closing opened registry keys
	* Avoiding allocating/freeing memory for nothing
	* Outputting expected values on failing tests
	* Trying to follow global file coding style

I hope it's not too much for a single patch even if it doesn't add
things or change code logic.

Second patch adds enumerating through provider type keys to find out one
that fit our needs.

[1]
http://www.winehq.org/pipermail/wine-patches/2008-November/064126.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-advapi32-tests-test_enum_provider_types-test-cleanu.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081106/85e33078/attachment-0001.bin 


More information about the wine-patches mailing list