]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Fix a memory leak inadvertently introduced during simplification of
authorAlasdair G Kergon <agk@redhat.com>
Fri, 13 Apr 2012 00:20:47 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 13 Apr 2012 00:20:47 +0000 (10:20 +1000)
commit025716f6bc2150c02a8d2d473e998c6a4045b288
tree22ec126cc8ef269bc053df1eac551837bddf79ca
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
Fix a memory leak inadvertently introduced during simplification of
cell_release_singleton() in commit 6f94a4c45a6f744383f9f695dde019998db3df55
("dm thin: fix stacked bi_next usage").

A cell's hlist_del() must be accompanied by a mempool_free().

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c