[vlc-commits] sftp: remove invalid free

Thomas Guillem git at videolan.org
Wed Jan 31 09:26:40 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 31 09:26:37 2018 +0100| [3de800eb67baa3e48fb8b85184edc5212a2345ba] | committer: Thomas Guillem

sftp: remove invalid free

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

 modules/access/sftp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/access/sftp.c b/modules/access/sftp.c
index f35d9e1b50..1219f573a1 100644
--- a/modules/access/sftp.c
+++ b/modules/access/sftp.c
@@ -253,7 +253,6 @@ static int Open( vlc_object_t* p_this )
     if( vlc_UrlParseFixup( &url, p_access->psz_url ) != 0 )
     {
         vlc_UrlClean( &url );
-        free( p_sys );
         return VLC_EGENERIC;
     }
     vlc_credential_init( &credential, &url );



More information about the vlc-commits mailing list