X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fschemaparse.c;h=6b22bf38eba7a250737bcfe130e7fe3dc71759cc;hb=f3c2c7ba48e67468e4052cea4699ffabad59a741;hp=0834dc0ae8c08a6795bce87c7e65c7fec5f71910;hpb=c83f7539ae968fbb834b92146ce217623069a4ae;p=openldap diff --git a/servers/slapd/schemaparse.c b/servers/slapd/schemaparse.c index 0834dc0ae8..6b22bf38eb 100644 --- a/servers/slapd/schemaparse.c +++ b/servers/slapd/schemaparse.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * 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;