kernel_optimize_test/drivers/lightnvm
Javier González deccf5a52e lightnvm: free properly on target creation error
Fix a memory leak when target creation fails. More specifically, free
the entire device structure given to the target (tgt_dev).

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-01-31 08:32:13 -07:00
..
core.c lightnvm: free properly on target creation error 2017-01-31 08:32:13 -07:00
Kconfig lightnvm: merge gennvm with core 2017-01-31 08:32:13 -07:00
Makefile lightnvm: merge gennvm with core 2017-01-31 08:32:13 -07:00
rrpc.c lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00
rrpc.h lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00