From 32498176e8802cf22a2fb951e3a2596079e97910 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Tue, 26 Apr 2005 08:15:38 +0000 Subject: [PATCH] Fixed a reference leak. --- dlls/devenum/mediacatenum.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/devenum/mediacatenum.c b/dlls/devenum/mediacatenum.c index 5fc04f92ee..836bc7fc26 100644 --- a/dlls/devenum/mediacatenum.c +++ b/dlls/devenum/mediacatenum.c @@ -432,6 +432,7 @@ static HRESULT WINAPI DEVENUM_IMediaCatMoniker_BindToObject( { /* get the requested interface from the loaded class */ res= IUnknown_QueryInterface(pObj,riidResult,ppvResult); + IUnknown_Release(pObj); } if (pProp)