mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
Plug memory leak in avl_free()
This commit is contained in:
parent
b4658cbe24
commit
d60bcb02c4
1 changed files with 1 additions and 0 deletions
|
|
@ -608,6 +608,7 @@ avl_free( Avlnode *root, AVL_FREE dfree )
|
|||
|
||||
if ( dfree )
|
||||
(*dfree)( root->avl_data );
|
||||
free( root );
|
||||
|
||||
return( nleft + nright + 1 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue