Nikolay Sivov bunglehead@gmail.com wrote:
Who is responsible for freeing icon handle? I guess it should be done here cause your implementation doesn't free it either.
You are right, DestroyIcon() is missing at the end of the test. Consider that as a feature, the tests are not supposed to free all the allocated resources, it's a waste of time :)