This fixes the double free on certain glibc vers.
Merge pull request #209 from TheNeikos/fix-avl_destroy

Fixes the double free on certain glibc vers.