diff options
-rw-r--r-- | src/buffer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index dfc79d4..126f910 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1,4 +1,4 @@ -/* $Id: buffer.c,v 1.7 2001-09-08 18:58:37 rjkaes Exp $ +/* $Id: buffer.c,v 1.8 2001-09-11 04:38:23 rjkaes Exp $ * * The buffer used in each connection is a linked list of lines. As the lines * are read in and written out the buffer expands and contracts. Basically, @@ -84,9 +84,8 @@ static void free_line(struct bufline_s *line) if (!line) return; - if (line->string) { + if (line->string) safefree(line->string); - } safefree(line); } |