Am Donnerstag 15 Februar 2007 19:13 schrieb Juan Lang:
The label cleanup isn't used anywhere except in the failure to create the device. In this case, wouldn't: if (FAILED(hr)) return; be clearer, and omit the unneeded label? There's no reason to release pDevice in creating it failed.
You're right. Its just copypasted from the other tests :-/