X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmodechange.c;h=057803124f573d0e753bf980ef334fa9711217f2;hb=0bb0c42bbc23b604ec21f3f9e30363eb17fdc484;hp=a2568e5490eaceee1929ef9f77cda942c8458af8;hpb=c6eaa6fd0acd5ac7c5afb2717ee167abbbdff604;p=gnulib.git diff --git a/lib/modechange.c b/lib/modechange.c index a2568e549..057803124 100644 --- a/lib/modechange.c +++ b/lib/modechange.c @@ -1,5 +1,5 @@ /* modechange.c -- file mode manipulation - Copyright (C) 1989, 1990, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1989, 1990, 1997, 1998, 1999 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ #if STDC_HEADERS # include #else -char *malloc; +char *malloc (); #endif #ifndef NULL @@ -171,7 +171,7 @@ mode_compile (const char *mode_string, unsigned int masked_ops) change->next = talloc (struct mode_change); if (change->next == NULL) { - mode_free (change); + mode_free (head); return MODE_MEMORY_EXHAUSTED; } change = change->next;