From 2726f8e14b076ab0255bcb9690c1d62952690380 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Sat, 5 Feb 2011 13:01:20 -0600 Subject: [PATCH] windowscodecs: Release the icon frame substream on success too. --- dlls/windowscodecs/icoformat.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/windowscodecs/icoformat.c b/dlls/windowscodecs/icoformat.c index de6ebe6..b4abac5 100644 --- a/dlls/windowscodecs/icoformat.c +++ b/dlls/windowscodecs/icoformat.c @@ -671,6 +671,8 @@ static HRESULT WINAPI IcoDecoder_GetFrame(IWICBitmapDecoder *iface, LeaveCriticalSection(&This->lock); + IStream_Release(substream); + return S_OK; fail: -- 1.7.2.3