summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rcs/rcs.c')
-rw-r--r--usr.bin/rcs/rcs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c
index 4c3fa730de6..e66d2594c40 100644
--- a/usr.bin/rcs/rcs.c
+++ b/usr.bin/rcs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.46 2008/02/02 16:21:38 xsa Exp $ */
+/* $OpenBSD: rcs.c,v 1.47 2008/05/11 12:13:41 tobias Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -1323,6 +1323,8 @@ rcs_delta_stats(struct rcs_delta *rdp, int *ladded, int *lremoved)
errx(1, "unknown RCS patch operation '%c'", op);
}
+ rcs_freelines(plines);
+
*ladded = added;
*lremoved = removed;
}