diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ldapd/namespace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldapd/namespace.c b/usr.sbin/ldapd/namespace.c index c8f9c88c839..e6e5aa2302d 100644 --- a/usr.sbin/ldapd/namespace.c +++ b/usr.sbin/ldapd/namespace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: namespace.c,v 1.1 2010/05/31 17:36:31 martinh Exp $ */ +/* $OpenBSD: namespace.c,v 1.2 2010/06/01 15:10:04 martinh Exp $ */ /* * Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se> @@ -46,6 +46,7 @@ namespace_new(const char *suffix) ns->sync = 1; if (ns->suffix == NULL) { free(ns->suffix); + free(ns); return NULL; } TAILQ_INIT(&ns->indices); |