diff options
author | Javier González <jg@lightnvm.io> | 2017-05-03 11:19:05 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-05-04 07:53:04 -0600 |
commit | 507f7d68fe5c24973dcd6e48f011bdfbd2197f01 (patch) | |
tree | e16f1c40edecd3d0cfc5a358cfafe58eba604708 /sound | |
parent | 2e13f33a2464fc3aa7783022a90309cabeca8935 (diff) | |
download | linux-507f7d68fe5c24973dcd6e48f011bdfbd2197f01.tar.gz linux-507f7d68fe5c24973dcd6e48f011bdfbd2197f01.tar.bz2 linux-507f7d68fe5c24973dcd6e48f011bdfbd2197f01.zip |
lightnvm: fix bad back free on error path
Free memory correctly when an allocation fails on a loop and we free
backwards previously successful allocations.
Signed-off-by: Javier González <javier@cnexlabs.com>
Reviewed-by: Matias Bjørling <matias@cnexlabs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions