Commit a81470cb authored by Manohar Vanga's avatar Manohar Vanga

simulation: add kfree(wbdev) in release method

Signed-off-by: 's avatarManohar Vanga <manohar.vanga@cern.ch>
parent 2f0bfe5c
......@@ -143,6 +143,8 @@ static void wb_dev_release(struct device *dev)
pr_info(KBUILD_MODNAME ": release %016llx:%08lx\n",
wb_dev->wbd.vendor, (unsigned long)wb_dev->wbd.device);
kfree(wb_dev);
}
/*
......
Markdown is supported
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