Module: wine Branch: master Commit: 4c80ec023d6affc00ff90a8b4a1a96d075dba9a8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c80ec023d6affc00ff90a8b4a...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Mon Oct 19 11:57:52 2015 +0300
strmbase: Switch to void for QualityControlImpl_Destroy().
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/strmbase/qualitycontrol.c | 4 ++-- dlls/strmbase/strmbase_private.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/strmbase/qualitycontrol.c b/dlls/strmbase/qualitycontrol.c index 9bdc251..2e32b57 100644 --- a/dlls/strmbase/qualitycontrol.c +++ b/dlls/strmbase/qualitycontrol.c @@ -49,9 +49,9 @@ HRESULT QualityControlImpl_Create(IPin *input, IBaseFilter *self, QualityControl return S_OK; }
-HRESULT QualityControlImpl_Destroy(QualityControlImpl *This) +void QualityControlImpl_Destroy(QualityControlImpl *This) { - return HeapFree(GetProcessHeap(),0,This); + HeapFree(GetProcessHeap(),0,This); }
HRESULT WINAPI QualityControlImpl_QueryInterface(IQualityControl *iface, REFIID riid, void **ppv) { diff --git a/dlls/strmbase/strmbase_private.h b/dlls/strmbase/strmbase_private.h index 6363bf5..4e5a25a 100644 --- a/dlls/strmbase/strmbase_private.h +++ b/dlls/strmbase/strmbase_private.h @@ -35,7 +35,7 @@ typedef struct QualityControlImpl { } QualityControlImpl;
HRESULT QualityControlImpl_Create(IPin *input, IBaseFilter *self, QualityControlImpl **ppv); -HRESULT QualityControlImpl_Destroy(QualityControlImpl *This); +void QualityControlImpl_Destroy(QualityControlImpl *This); HRESULT WINAPI QualityControlImpl_QueryInterface(IQualityControl *iface, REFIID riid, void **ppv); ULONG WINAPI QualityControlImpl_AddRef(IQualityControl *iface); ULONG WINAPI QualityControlImpl_Release(IQualityControl *iface);