* sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.

This commit is contained in:
Pavel Roskin 2001-08-11 04:57:17 +00:00
parent 581b7157b8
commit 7493ab67ad
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-08-11 Pavel Roskin <proski@gnu.org>
* sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
2001-08-07 Pavel Roskin <proski@gnu.org>
* extfs.h: Move private structures ...

View File

@ -299,10 +299,10 @@ static int sfs_init (vfs *me)
if (!cfg){
fprintf (stderr, _("Warning: file %s not found\n"), mc_sfsini);
free (mc_sfsini);
g_free (mc_sfsini);
return 0;
}
free (mc_sfsini);
g_free (mc_sfsini);
sfs_no = 0;
while (sfs_no < MAXFS){