diff options
author | 2005-04-16 18:01:26 +0000 | |
---|---|---|
committer | 2005-04-16 18:01:26 +0000 | |
commit | 2bb27b865123f6b25c7c2ba0d9bff26a2cdc588c (patch) | |
tree | d7abb23c9b38664f16ca4537700aea0b70d6c768 /usr.bin/cvs/commit.c | |
parent | sync (diff) | |
download | wireguard-openbsd-2bb27b865123f6b25c7c2ba0d9bff26a2cdc588c.tar.xz wireguard-openbsd-2bb27b865123f6b25c7c2ba0d9bff26a2cdc588c.zip |
missing cvs_ent_free(); joris ok
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r-- | usr.bin/cvs/commit.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <jfb@openbsd.org> * 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); } |