1998-09-14 Norbert Warmuth <k3190@fh-sw.de>

* sfs.c (sfs_free): assignment operator was used to check for equality
This commit is contained in:
Norbert Warmuth 1998-09-14 19:21:04 +00:00
parent 924aee9ede
commit e87670a3bd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
* sfs.c (sfs_free): assignment operator was used to check for equality
Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz> Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
* sfs.c: memory leak fixed * sfs.c: memory leak fixed

View File

@ -233,7 +233,7 @@ static void sfs_free (vfsid id)
unlink( CUR->cache ); unlink( CUR->cache );
while (CUR) { while (CUR) {
if (CUR = which) if (CUR == which)
break; break;
CUR = CUR->next; CUR = CUR->next;
} }