From 6627f34356c0969ba59f0eb575d443c4e259dd78 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 17 Mar 2009 15:52:41 +0000 Subject: [PATCH] use, then free (ITS#6027) --- servers/slapd/at.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/at.c b/servers/slapd/at.c index d4c4244b38..59899b4395 100644 --- a/servers/slapd/at.c +++ b/servers/slapd/at.c @@ -1080,10 +1080,10 @@ register_at( const char *def, AttributeDescription **rad, int dupok ) freeit = 1; } else { - ldap_attributetype_free( at ); Debug( LDAP_DEBUG_ANY, "register_at: AttributeType \"%s\": %s, %s\n", def, scherr2str(code), err ); + ldap_attributetype_free( at ); return code; } } -- 2.39.5