diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-04-28 10:05:29 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-04-28 10:05:29 +0000 |
commit | f833c36c0e16bfb2361451534bbf5d7217f13219 (patch) | |
tree | a7de57fb659dc94199cd6207ac4204176434d775 /usr.sbin | |
parent | f377100d2c47447f66465f3d9d017428e8c57e98 (diff) |
- plug memleak (in #if 0'd code)
ok pyr@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ypldap/aldap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ypldap/aldap.c b/usr.sbin/ypldap/aldap.c index 3779cba4ccc..067e7ffdcb9 100644 --- a/usr.sbin/ypldap/aldap.c +++ b/usr.sbin/ypldap/aldap.c @@ -1,5 +1,5 @@ -/* $Id: aldap.c,v 1.22 2010/02/07 13:04:25 blambert Exp $ */ -/* $OpenBSD: aldap.c,v 1.22 2010/02/07 13:04:25 blambert Exp $ */ +/* $Id: aldap.c,v 1.23 2010/04/28 10:05:28 jasper Exp $ */ +/* $OpenBSD: aldap.c,v 1.23 2010/04/28 10:05:28 jasper Exp $ */ /* * Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org> @@ -546,6 +546,7 @@ aldap_parse_url(char *url, struct aldap_url *lu) if (p) lu->filter = p; done: + free(url); return (1); fail: free(lu->buffer); |