mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-01 13:45:29 +03:00
* ftpfs.c (ftpfs_done): New function. Free ftpfs_proxy_host and
ftpfs_anonymous_passwd.
This commit is contained in:
parent
99e1805194
commit
68183f4727
@ -1,3 +1,8 @@
|
||||
2003-06-05 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* ftpfs.c (ftpfs_done): New function. Free ftpfs_proxy_host and
|
||||
ftpfs_anonymous_passwd.
|
||||
|
||||
2003-05-30 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* extfs/trpm: Fix compatibility with the secure temporary
|
||||
|
@ -1728,6 +1728,13 @@ static struct vfs_s_data ftp_data = {
|
||||
linear_close
|
||||
};
|
||||
|
||||
static void
|
||||
ftpfs_done (vfs *me)
|
||||
{
|
||||
g_free (ftpfs_anonymous_passwd);
|
||||
g_free (ftpfs_proxy_host);
|
||||
}
|
||||
|
||||
static void
|
||||
ftpfs_fill_names (vfs *me, void (*func)(char *))
|
||||
{
|
||||
@ -1750,7 +1757,7 @@ vfs vfs_ftpfs_ops = {
|
||||
&ftp_data, /* data */
|
||||
0, /* errno */
|
||||
NULL, /* init */
|
||||
NULL, /* done */
|
||||
ftpfs_done, /* done */
|
||||
ftpfs_fill_names,
|
||||
NULL,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user