]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10384 Free attributes on error
authorOndřej Kuzník <ondra@mistotebe.net>
Tue, 26 Aug 2025 15:26:01 +0000 (16:26 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 8 Sep 2025 23:15:48 +0000 (23:15 +0000)
servers/slapd/entry.c

index e10413573edad24c91fd475311fb2d4e58c717e1..eb6502cfa82d84694cf7cd4388f7f8caf0dfc67c 100644 (file)
@@ -365,6 +365,7 @@ fail:
                free( nvals[i].bv_val );
        }
        free( type );
+       attrs_free( ahead.a_next );
        entry_free( e );
        return NULL;
 }