[vlc-devel] [vlc-commits] Fix opening of subtitles on Windows
Rémi Denis-Courmont
remi at remlab.net
Tue Apr 26 08:31:10 CEST 2011
Hello,
On Tuesday 26 April 2011, Jean-Baptiste Kempf wrote:
> diff --git a/modules/gui/qt4/dialogs_provider.cpp
> b/modules/gui/qt4/dialogs_provider.cpp index 690adf6..31f7826 100644
> --- a/modules/gui/qt4/dialogs_provider.cpp
> +++ b/modules/gui/qt4/dialogs_provider.cpp
> @@ -681,7 +681,7 @@ void DialogsProvider::loadSubtitlesFile()
> input_item_t *p_item = input_GetItem( p_input );
> if( !p_item ) return;
>
> - char *path = input_item_GetURI( p_item );
> + char *path = make_path( input_item_GetURI( p_item ) );
> if( !path ) path = strdup( "" );
Memory leak.
--
Rémi Denis-Courmont
http://www.remlab.info
More information about the vlc-devel
mailing list