From e5f57e63424bbe0ab1c95ffbb598e1fef157238f Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 30 Jun 2015 21:02:19 +0200 Subject: [PATCH] windowscodecs: Fix build failure on OSX. --- dlls/windowscodecs/icnsformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/windowscodecs/icnsformat.c b/dlls/windowscodecs/icnsformat.c index 54c77078bea..5d48a1afa9c 100644 --- a/dlls/windowscodecs/icnsformat.c +++ b/dlls/windowscodecs/icnsformat.c @@ -179,7 +179,7 @@ static ULONG WINAPI IcnsFrameEncode_Release(IWICBitmapFrameEncode *iface) if (This->icns_image != NULL) HeapFree(GetProcessHeap(), 0, This->icns_image); - IWICBitmapFrameEncode_Release(&This->encoder->IWICBitmapFrameEncode_iface); + IWICBitmapEncoder_Release(&This->encoder->IWICBitmapEncoder_iface); HeapFree(GetProcessHeap(), 0, This); }