[vlc-devel] [vlc-commits] dsm: Fix leak
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Tue Mar 10 15:38:34 CET 2015
On Tue, Mar 10, 2015, at 03:28 PM, Hugo Beauzée-Luyssen wrote:
> vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar
> 10 14:33:26 2015 +0100| [eb2ed0e14a44bb716f155d5158424d7cbb359857] |
> committer: Hugo Beauzée-Luyssen
>
> dsm: Fix leak
>
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb2ed0e14a44bb716f155d5158424d7cbb359857
> ---
>
> modules/access/dsm/access.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
> index 79ee799..6c90be9 100644
> --- a/modules/access/dsm/access.c
> +++ b/modules/access/dsm/access.c
> @@ -242,10 +242,10 @@ static void Close( vlc_object_t *p_this )
> free( p_sys->creds.login );
> free( p_sys->creds.password );
> free( p_sys->creds.domain );
> - free( p_sys->url.psz_buffer );
> free( p_sys->psz_share );
> free( p_sys->psz_path );
> free( p_sys );
> + vlc_UrlClean( &p_sys->url );
> }
>
> /*****************************************************************************
>
Sorry about this version, the correct one has been pushed.
Regards,
--
Hugo Beauzée-Luyssen
hugo at beauzee.fr
More information about the vlc-devel
mailing list