From d60bcb02c4221ab9acf7522ce6ceeef2d5069aa6 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 4 Apr 1999 21:29:22 +0000 Subject: [PATCH] Plug memory leak in avl_free() --- libraries/libavl/avl.c | 1 + 1 file changed, 1 insertion(+) 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 ); } -- 2.39.5