[vlc-devel] commit: Forgotten in the previous commit. ( Rémi Duraffort )

git version control git at videolan.org
Wed Mar 12 12:10:34 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Mar 12 00:59:20 2008 +0100| [ddba9af97a4a3531e762d9696bf0ee7637a63448]

Forgotten in the previous commit.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ddba9af97a4a3531e762d9696bf0ee7637a63448
---

 projects/activex/vlccontrol2.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/projects/activex/vlccontrol2.cpp b/projects/activex/vlccontrol2.cpp
index 8d45973..d319b54 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));




More information about the vlc-devel mailing list