[vlc-commits] sftp: remove invalid free

Thomas Guillem git at videolan.org
Thu Feb 1 11:26:20 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 31 09:26:37 2018 +0100| [55525103ec572192ce31cc65d201dbe2b6ab698b] | committer: Thomas Guillem

sftp: remove invalid free

(cherry picked from commit 3de800eb67baa3e48fb8b85184edc5212a2345ba)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 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