diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2008-03-22 21:15:55 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2008-03-22 21:15:55 +0000 |
commit | df6adbbe7db6c805a5029f9a287897c851493a8f (patch) | |
tree | 971c2fa85f92ad584a1a6ebaa0d9d04e897290ca /usr.bin | |
parent | 3c6f9968d7697098e3bb739e4db6c68987719be4 (diff) |
Fix the freeing of two uninitialized strings. OK niallo@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rcs/ci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index 4b3c79cdd4c..03233c9cedc 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.203 2007/09/06 19:38:47 niallo Exp $ */ +/* $OpenBSD: ci.c,v 1.204 2008/03/22 21:15:54 millert Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -347,6 +347,7 @@ checkin_diff_file(struct checkin_params *pb) char rbuf[RCS_REV_BUFSZ]; b1 = b2 = b3 = NULL; + path1 = path2 = NULL; rcsnum_tostr(pb->frev, rbuf, sizeof(rbuf)); if ((b1 = rcs_buf_load(pb->filename, BUF_AUTOEXT)) == NULL) { |