diff options
author | sasha@mysql.sashanet.com <> | 2001-06-04 17:34:11 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-06-04 17:34:11 -0600 |
commit | 060da63ab3b830770d5573708766a187d2916811 (patch) | |
tree | 4a4e924d33acb60a72c034f4b7ff58112c07d6dd /mysys/tree.c | |
parent | 1d05b8998070a23dd6f49a4885fe09f4cbc1fb8c (diff) | |
parent | f237cdc04145e027365727093a82240e6d162bc0 (diff) | |
download | mariadb-git-060da63ab3b830770d5573708766a187d2916811.tar.gz |
Merge mysql.sashanet.com:/home/sasha/src/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
Diffstat (limited to 'mysys/tree.c')
-rw-r--r-- | mysys/tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/tree.c b/mysys/tree.c index af64be55d2f..02e8fdb12bd 100644 --- a/mysys/tree.c +++ b/mysys/tree.c @@ -266,6 +266,8 @@ int tree_delete(TREE *tree, void *key) } if (remove_colour == BLACK) rb_delete_fixup(tree,parent); + if (tree->free) + (*tree->free)(ELEMENT_KEY(tree,element)); my_free((gptr) element,MYF(0)); tree->elements_in_tree--; return 0; |