]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schemaparse.c
use slab memory for proxyauthz
[openldap] / servers / slapd / schemaparse.c
index 0834dc0ae8c08a6795bce87c7e65c7fec5f71910..6b22bf38eba7a250737bcfe130e7fe3dc71759cc 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -280,6 +280,7 @@ parse_at(
 
        code = at_add(at,1,sat,&err);
        if ( code ) {
+               ldap_attributetype_free( at );
                fprintf( stderr, "%s: line %d: %s: \"%s\"\n",
                         fname, lineno, scherr2str(code), err);
                return 1;