From f704c35caf91ee29f6d22e9292cf07f094358aba Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 3 Oct 2001 18:19:07 +0000 Subject: [PATCH] subschemaSubentry attributes could be leaked under some conditions, plug them. --- servers/slapd/result.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 5d1f4c205c..f869f86c91 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -965,6 +965,7 @@ send_search_entry( ber_free( ber, 1 ); send_ldap_result( conn, op, LDAP_OTHER, NULL, "encoding description error", NULL, NULL ); + attrs_free( aa ); goto error_return; } @@ -1000,6 +1001,7 @@ send_search_entry( ber_free( ber, 1 ); send_ldap_result( conn, op, LDAP_OTHER, NULL, "encoding values error", NULL, NULL ); + attrs_free( aa ); goto error_return; } } @@ -1017,6 +1019,7 @@ send_search_entry( ber_free( ber, 1 ); send_ldap_result( conn, op, LDAP_OTHER, NULL, "encode end error", NULL, NULL ); + attrs_free( aa ); goto error_return; } } -- 2.39.5