aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2014-08-08 13:38:04 +0800
committerAlex Shi <alex.shi@linaro.org>2014-08-08 13:38:04 +0800
commitc482787d2329a563f1aee8af59190d5578935855 (patch)
treedd54cf862ceb61449ef4754c50b93baf4478b25c /lib
parent419d774626e602be462028744381a47fca7edc57 (diff)
parenta4b52d8f380b832c129e44641af7c34c945e6c7a (diff)
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
Diffstat (limited to 'lib')
-rw-r--r--lib/btree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/btree.c b/lib/btree.c
index f9a484676cb6..4264871ea1a0 100644
--- a/lib/btree.c
+++ b/lib/btree.c
@@ -198,6 +198,7 @@ EXPORT_SYMBOL_GPL(btree_init);
void btree_destroy(struct btree_head *head)
{
+ mempool_free(head->node, head->mempool);
mempool_destroy(head->mempool);
head->mempool = NULL;
}