diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2007-01-13 05:09:18 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2007-01-13 05:09:18 +0000 |
commit | 77bb51df8548a7ae52a3db3eee6278c15c54d20b (patch) | |
tree | cf925066ef21d44d42f3c29dfa80f80c24e28254 /usr.bin/cvs/rcs.c | |
parent | b603c5b0d5585244af10a3883f148757c7331c9a (diff) |
the memleak i thought i had fixed was in fact NOT a leak at all
and caused opencvs to crash so revert, oops?
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index cda24bd8c25..20f747e5dc3 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.197 2007/01/13 04:29:37 joris Exp $ */ +/* $OpenBSD: rcs.c,v 1.198 2007/01/13 05:09:17 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -3421,7 +3421,6 @@ rcs_kwexp_line(char *rcsfile, struct rcs_delta *rdp, struct cvs_line *line, len = cvs_buf_len(tmpbuf); /* tmpbuf is now ready, convert to string */ - xfree(line->l_line); line->l_len = len; line->l_line = cvs_buf_release(tmpbuf); } |