dm exception store: free tmp_store on persistent flag error
commit5db89cf4ea748e1c2d29d52175b2bace466078c7
authorJulia Lawall <julia@diku.dk>
Thu, 10 Dec 2009 23:51:52 +0000 (10 23:51 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 22:04:59 +0000 (18 14:04 -0800)
tree656fe510746378fe5e9bdf5b6203c3a8368e453b
parent1e75ccef288b75a3b207c1b1be4baf5ae5ac0ffb
dm exception store: free tmp_store on persistent flag error

commit 613978f8711c7fd4d0aa856872375d2abd7c92ff upstream.

Error handling code following a kmalloc should free the allocated data.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-exception-store.c