Skip to content
Commit c7674030 authored by Jerome Marchand's avatar Jerome Marchand Committed by Jens Axboe
Browse files

block: Fix memory leak in alloc_disk_node()



Fix a memory leak in alloc_disk_node(). Don't forget to free 'dkstats' when the allocation of 'part' failed.

Signed-off-by: default avatarJerome Marchand <jmarchan@redhat.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 8c8d7214
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment