mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(sftpfs_open_file): don't destroy file handler here.
Fix Coverity id #331814. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
db3b30ebea
commit
106d95229f
@ -174,7 +174,6 @@ sftpfs_open_file (vfs_file_handler_t * fh, int flags, mode_t mode, GError ** mce
|
||||
{
|
||||
sftpfs_ssherror_to_gliberror (super, libssh_errno, mcerror);
|
||||
g_free (name);
|
||||
g_free (file);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user