]> git.sur5r.net Git - openldap/commitdiff
Plug memory leak in avl_free()
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 4 Apr 1999 21:29:22 +0000 (21:29 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 4 Apr 1999 21:29:22 +0000 (21:29 +0000)
libraries/libavl/avl.c

index 93886e8ae51475861befa4ac605ad1599b144f9c..c48e2e63c4b3174ef9a2cad15c214f29dab12d3f 100644 (file)
@@ -608,6 +608,7 @@ avl_free( Avlnode *root, AVL_FREE dfree )
 
        if ( dfree )
                (*dfree)( root->avl_data );
+       free( root );
 
        return( nleft + nright + 1 );
 }