projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Omit the special code that used __typeof__ for MIN and MAX,
[gnulib.git]
/
lib
/
linebuffer.c
diff --git
a/lib/linebuffer.c
b/lib/linebuffer.c
index
434d6d8
..
bed5d94
100644
(file)
--- a/
lib/linebuffer.c
+++ b/
lib/linebuffer.c
@@
-87,11
+87,10
@@
readlinebuffer (struct linebuffer *linebuffer, FILE *stream)
return linebuffer;
}
return linebuffer;
}
-/* Free
linebuffer LINEBUFFER and its data, all allocated with malloc.
*/
+/* Free
the buffer that was allocated for linebuffer LINEBUFFER.
*/
void
freebuffer (struct linebuffer *linebuffer)
{
free (linebuffer->buffer);
void
freebuffer (struct linebuffer *linebuffer)
{
free (linebuffer->buffer);
- free (linebuffer);
}
}