Skip to content
Snippets Groups Projects
Commit a81470cb authored by Manohar Vanga's avatar Manohar Vanga
Browse files

simulation: add kfree(wbdev) in release method


Signed-off-by: default avatarManohar Vanga <manohar.vanga@cern.ch>
parent 2f0bfe5c
Branches
Tags
No related merge requests found
......@@ -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);
}
/*
......
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