From 2bb27b865123f6b25c7c2ba0d9bff26a2cdc588c Mon Sep 17 00:00:00 2001 From: xsa Date: Sat, 16 Apr 2005 18:01:26 +0000 Subject: missing cvs_ent_free(); joris ok --- usr.bin/cvs/commit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/cvs/commit.c') diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index 1cfad2fbfb9..50a08d4d84f 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.24 2005/04/15 14:34:15 xsa Exp $ */ +/* $OpenBSD: commit.c,v 1.25 2005/04/16 18:01:26 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -217,6 +217,8 @@ cvs_commit_file(CVSFILE *cf, void *arg) if (l == -1 || l >= (int)sizeof(rcspath)) { errno = ENAMETOOLONG; cvs_log(LP_ERRNO, "%s", rcspath); + + cvs_ent_free(entp); return (-1); } -- cgit v1.2.3-59-g8ed1b