diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-05-06 14:35:19 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-05-06 14:35:19 +0000 |
commit | 0a7ee7080562b62742671295c2512fd94237bae8 (patch) | |
tree | 9f435cd3f3a35011ed4bab54ffb6f6ab6f0b777c /ufs-fsck/utilities.c | |
parent | 0f07be8955c4febfd2662e222f0371c8a92ae1d2 (diff) | |
download | hurd-0a7ee7080562b62742671295c2512fd94237bae8.tar.gz hurd-0a7ee7080562b62742671295c2512fd94237bae8.tar.bz2 hurd-0a7ee7080562b62742671295c2512fd94237bae8.zip |
Thu May 6 10:25:27 1999 Thomas Bushnell, BSG <tb@mit.edu>
* utilities.c (pextend): Free MORE before returning.
* dir.c (linkup): Don't free tempname until after we're done using
it in the call to warning.
Reported by Katsuya Tanaka (tanaka@boarderz.com).
Diffstat (limited to 'ufs-fsck/utilities.c')
-rw-r--r-- | ufs-fsck/utilities.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ufs-fsck/utilities.c b/ufs-fsck/utilities.c index 4c515f61..2ccade06 100644 --- a/ufs-fsck/utilities.c +++ b/ufs-fsck/utilities.c @@ -1,5 +1,5 @@ /* Miscellaneous functions for fsck - Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -322,6 +322,7 @@ pextend (char *fmt, ...) strcpy (concat + strlen (concat), more); prob->desc = concat; + free (more); } /* Like problem, but as if immediately followed by pfail. */ |