diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2006-05-17 12:44:17 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2006-05-17 12:44:17 +0000 |
commit | d07d3947fa84b7464fcb85b860fae43eebc683dd (patch) | |
tree | 98283e0072ef2364c67795572341e19d7e7d44c3 /bin/rcp | |
parent | 74f83645bee64fbfd065d8770fc401d66d3772b9 (diff) |
fix leak
Diffstat (limited to 'bin/rcp')
-rw-r--r-- | bin/rcp/rcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index 417a1f2f31a..c3f71b240d2 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcp.c,v 1.44 2006/03/23 02:48:57 deraadt Exp $ */ +/* $OpenBSD: rcp.c,v 1.45 2006/05/17 12:44:16 markus Exp $ */ /* $NetBSD: rcp.c,v 1.9 1995/03/21 08:19:06 cgd Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)rcp.c 8.2 (Berkeley) 4/2/94"; #else -static const char rcsid[] = "$OpenBSD: rcp.c,v 1.44 2006/03/23 02:48:57 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: rcp.c,v 1.45 2006/05/17 12:44:16 markus Exp $"; #endif #endif /* not lint */ @@ -326,6 +326,7 @@ toremote(char *targ, int argc, char *argv[]) } } free(user); + free(arg); } void |