Memory leak fix.

This commit is contained in:
Nick Peng
2018-06-26 22:55:40 +08:00
parent 06bc0b1642
commit 359cef4e8c
9 changed files with 89 additions and 46 deletions

View File

@@ -149,7 +149,7 @@ int art_tree_destroy(art_tree *t);
#ifdef BROKEN_GCC_C99_INLINE
# define art_size(t) ((t)->size)
#else
inline uint64_t art_size(art_tree *t) {
static inline uint64_t art_size(art_tree *t) {
return t->size;
}
#endif