Commit 0f8510f5 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Backport of rev [19651]

parent 7719074b
...@@ -2071,7 +2071,7 @@ STDMETHODIMP VLCVideo::get_aspectRatio(BSTR* aspect) ...@@ -2071,7 +2071,7 @@ STDMETHODIMP VLCVideo::get_aspectRatio(BSTR* aspect)
*aspect = BSTRFromCStr(CP_UTF8, psz_aspect); *aspect = BSTRFromCStr(CP_UTF8, psz_aspect);
free( psz_aspect ); free( psz_aspect );
psz_aspect = NULL; psz_aspect = NULL;
return (NULL == aspect) ? E_OUTOFMEMORY : NOERROR; return (NULL == *aspect) ? E_OUTOFMEMORY : NOERROR;
} }
if( psz_aspect ) free( psz_aspect ); if( psz_aspect ) free( psz_aspect );
psz_aspect = NULL; psz_aspect = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment