diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-04-17 12:11:08 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-04-17 12:11:08 +0000 |
commit | d9dd8fdfbcb5d6d007ea75c71abcf49764bc9c90 (patch) | |
tree | 56e8cd24d8e518f8aef65843d24cd760ef9ace54 /usr.bin | |
parent | 92fe60d3b357050bf6f284775eca285674b0322d (diff) |
plug memory leak; OK ray@.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rcs/rcsprog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c index 8f896ca6119..6ef2a32fe82 100644 --- a/usr.bin/rcs/rcsprog.c +++ b/usr.bin/rcs/rcsprog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsprog.c,v 1.104 2006/04/15 19:35:19 xsa Exp $ */ +/* $OpenBSD: rcsprog.c,v 1.105 2006/04/17 12:11:07 xsa Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -799,6 +799,9 @@ rcs_main(int argc, char **argv) if (nflag != NULL) xfree(nflag); + if (orange != NULL) + xfree(orange); + return (0); } |