summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypldap/aldap.c
diff options
context:
space:
mode:
authoraschrijver <aschrijver@openbsd.org>2009-01-28 00:53:29 +0000
committeraschrijver <aschrijver@openbsd.org>2009-01-28 00:53:29 +0000
commitb9dc73d46a3f59ca18e7ec261af4eb47ec05cad9 (patch)
treecea2779ce98efeee5909de06302c90cc6ac58d8e /usr.sbin/ypldap/aldap.c
parenta bit of enqueue cleanup, and while at it set the sender local address to (diff)
downloadwireguard-openbsd-b9dc73d46a3f59ca18e7ec261af4eb47ec05cad9.tar.xz
wireguard-openbsd-b9dc73d46a3f59ca18e7ec261af4eb47ec05cad9.zip
Correct dup to dupstr.
Diffstat (limited to 'usr.sbin/ypldap/aldap.c')
-rw-r--r--usr.sbin/ypldap/aldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypldap/aldap.c b/usr.sbin/ypldap/aldap.c
index f96af159487..71f19cf19b9 100644
--- a/usr.sbin/ypldap/aldap.c
+++ b/usr.sbin/ypldap/aldap.c
@@ -1,5 +1,5 @@
-/* $Id: aldap.c,v 1.17 2009/01/27 16:17:49 aschrijver Exp $ */
-/* $OpenBSD: aldap.c,v 1.17 2009/01/27 16:17:49 aschrijver Exp $ */
+/* $Id: aldap.c,v 1.18 2009/01/28 00:53:29 aschrijver Exp $ */
+/* $OpenBSD: aldap.c,v 1.18 2009/01/28 00:53:29 aschrijver Exp $ */
/*
* Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org>
@@ -547,7 +547,7 @@ done:
free(dupstr);
return (1);
fail:
- free(dup);
+ free(dupstr);
return (-1);
}