From: Howard Chu Date: Sat, 17 Nov 2001 00:46:00 +0000 (+0000) Subject: ainfo_free no longer needed X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~852 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18ae339b0f74524a4775b7d9862ea8229ec01546;p=openldap ainfo_free no longer needed --- diff --git a/servers/slapd/back-ldbm/attr.c b/servers/slapd/back-ldbm/attr.c index 8241e12601..b9cbd7e2e5 100644 --- a/servers/slapd/back-ldbm/attr.c +++ b/servers/slapd/back-ldbm/attr.c @@ -213,15 +213,8 @@ attr_index_config( return LDAP_SUCCESS; } - -static void -ainfo_free( void *attr ) -{ - free( attr ); -} - void attr_index_destroy( Avlnode *tree ) { - avl_free( tree, ainfo_free ); + avl_free( tree, free ); }