Re: windowscodecs/tests: Fixed some leaks on error path (Valgrind)
15 Jun
2014
15 Jun
'14
10:26 a.m.
+ if (FAILED(hr)) + { + IStream_Release(stream); + IWICComponentFactory_Release(factory); + return; + } The rest of the function is already has code to handle failure, so returning early is unnecessary.
4195
Age (days ago)
4195
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vincent Povirk