windowscodecs/tests: Fixed some leaks on error path (Valgrind)

Vincent Povirk madewokherd at gmail.com
Sun Jun 15 10:26:25 CDT 2014


 +    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.



More information about the wine-devel mailing list