From ddba9af97a4a3531e762d9696bf0ee7637a63448 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Wed, 12 Mar 2008 00:59:20 +0100 Subject: [PATCH] Forgotten in the previous commit. --- projects/activex/vlccontrol2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/activex/vlccontrol2.cpp b/projects/activex/vlccontrol2.cpp index 8d45973db4..d319b54625 100644 --- a/projects/activex/vlccontrol2.cpp +++ b/projects/activex/vlccontrol2.cpp @@ -2172,7 +2172,7 @@ STDMETHODIMP VLCVideo::get_aspectRatio(BSTR* aspect) psz_aspect = NULL; return (NULL == *aspect) ? E_OUTOFMEMORY : NOERROR; } - if( psz_aspect ) free( psz_aspect ); + free( psz_aspect ); psz_aspect = NULL; } _p_instance->setErrorInfo(IID_IVLCVideo, libvlc_exception_get_message(&ex)); @@ -2303,7 +2303,7 @@ STDMETHODIMP VLCVideo::get_crop(BSTR* geometry) psz_geometry = NULL; return (NULL == geometry) ? E_OUTOFMEMORY : NOERROR; } - if( psz_geometry ) free( psz_geometry ); + free( psz_geometry ); psz_geometry = NULL; } _p_instance->setErrorInfo(IID_IVLCVideo, libvlc_exception_get_message(&ex)); -- 2.39.2