artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0204f9
)
Plug mem leak.
author
ray
<ray@openbsd.org>
Fri, 23 Jul 2010 23:59:32 +0000
(23:59 +0000)
committer
ray
<ray@openbsd.org>
Fri, 23 Jul 2010 23:59:32 +0000
(23:59 +0000)
OK nicm
usr.bin/rcs/ci.c
patch
|
blob
|
history
diff --git
a/usr.bin/rcs/ci.c
b/usr.bin/rcs/ci.c
index
f53697e
..
faa70c9
100644
(file)
--- a/
usr.bin/rcs/ci.c
+++ b/
usr.bin/rcs/ci.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ci.c,v 1.20
7 2010/07/23 21:46:05
ray Exp $ */
+/* $OpenBSD: ci.c,v 1.20
8 2010/07/23 23:59:32
ray Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@
-924,6
+924,7
@@
checkin_keywordscan(BUF *data, RCSNUM **rev, time_t *date, char **author,
/* XXX - Not binary safe. */
buf_putc(buf, '\0');
checkin_parsekeyword(buf_get(buf), rev, date, author, state);
+ buf_free(buf);
loopend:;
}
if (kwstr == NULL)