summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.c
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2004-07-14 14:09:18 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2004-07-14 14:09:18 +0000
commitec4ae84613fe465ef056116c29e950b3afa93427 (patch)
treeebfb7ce6b0eff0e0ab9082efda52beb5d761aabc /usr.bin/cvs/rcs.c
parent8a823242b0211ceebf22e3c59ab1a1a813fbd71d (diff)
buffers should be freed using cvs_buf_free(), not free()
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r--usr.bin/cvs/rcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index 8eb68717275..979360548fc 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.3 2004/07/14 05:13:06 vincent Exp $ */
+/* $OpenBSD: rcs.c,v 1.4 2004/07/14 14:09:17 vincent Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -503,8 +503,8 @@ rcs_patch(const char *data, const char *patch)
* rcs_getrev()
*
* Get the whole contents of revision <rev> from the RCSFILE <rfp>. The
- * returned buffer is dynamically allocated and should be released using free()
- * once the caller is done using it.
+ * returned buffer is dynamically allocated and should be released using
+ * cvs_buf_free() once the caller is done using it.
*/
BUF*