* ftpfs.c (ftpfs_done): New function. Free ftpfs_proxy_host and

ftpfs_anonymous_passwd.
This commit is contained in:
Pavel Roskin 2003-06-06 00:16:50 +00:00
parent 99e1805194
commit 68183f4727
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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,