From: Hallvard Furuseth Date: Sun, 4 Apr 1999 21:29:22 +0000 (+0000) Subject: Plug memory leak in avl_free() X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~255 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d60bcb02c4221ab9acf7522ce6ceeef2d5069aa6;p=openldap Plug memory leak in avl_free() --- diff --git a/libraries/libavl/avl.c b/libraries/libavl/avl.c index 93886e8ae5..c48e2e63c4 100644 --- a/libraries/libavl/avl.c +++ b/libraries/libavl/avl.c @@ -608,6 +608,7 @@ avl_free( Avlnode *root, AVL_FREE dfree ) if ( dfree ) (*dfree)( root->avl_data ); + free( root ); return( nleft + nright + 1 ); }