From: RĂ©mi Duraffort Date: Tue, 11 Mar 2008 23:59:20 +0000 (+0100) Subject: Forgotten in the previous commit. X-Git-Tag: 0.9.0-test0~2157 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ddba9af97a4a3531e762d9696bf0ee7637a63448;p=vlc Forgotten in the previous commit. --- 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));