Commit 0950974d authored by Luis Fernando Ruiz's avatar Luis Fernando Ruiz Committed by Juan David González Cobas

svec: free svec structure while removing driver

parent e42b328a
......@@ -301,6 +301,10 @@ static int __devexit svec_remove(struct device *pdev, unsigned int ndev)
svec_unmap_window(svec, MAP_CR_CSR);
svec_unmap_window(svec, MAP_REG);
kfree(svec);
dev_info(pdev, "removed\n");
return 0;
}
......
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