From 432f05be5ff6a75cdc523ab78e363f4057b0c269 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Tue, 2 Jan 2007 00:02:18 +0000 Subject: missing xfree()'s; spotted by joris. --- usr.bin/cvs/admin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c index ae346847b18..e7fecb10178 100644 --- a/usr.bin/cvs/admin.c +++ b/usr.bin/cvs/admin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: admin.c,v 1.42 2007/01/01 23:49:06 xsa Exp $ */ +/* $OpenBSD: admin.c,v 1.43 2007/01/02 00:02:17 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * Copyright (c) 2005 Joris Vink @@ -289,6 +289,8 @@ cvs_admin_local(struct cvs_file *cf) if ((logrev = rcsnum_parse(sargv->argv[1])) == NULL) { cvs_log(LP_ERR, "`%s' bad revision number", statestr); + cvs_argv_destroy(sargv); + xfree(state); return; } } else { -- cgit v1.2.3