summaryrefslogtreecommitdiff
path: root/drivers/crypto/nx/Makefile
diff options
context:
space:
mode:
authorTakeshi Yoshimura <yos@sslab.ics.keio.ac.jp>2015-06-15 02:43:59 +0900
committerDominik Brodowski <linux@dominikbrodowski.net>2015-06-14 21:35:45 +0200
commitd19319affb6c84ef45185588f63dc28f8ff95ea3 (patch)
tree6419375f21500c0125d8f9de33ecdf2d6ebbe17f /drivers/crypto/nx/Makefile
parent2fb22a8042fe96b4220843f79241c116d90922c4 (diff)
pcmcia: Fix resource leaks in yenta_probe() and _close()
There are some resource leaks in yenta_probe() and _close(). I fixed the following issues with some code cleanups. Thanks to Dominik's suggestions. On the error path in yenta_probe(): - a requested irq is not released - yenta_free_resources() and pci_set_drvdata(dev, NULL) are not called In yenta_close(): - kfree(sock) is not called - sock->base is always set to non-NULL when yenta_close() is called, therefore the check in yenta_close() is not necessary. Signed-off-by: Takeshi Yoshimura <yos@sslab.ics.keio.ac.jp> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/crypto/nx/Makefile')
0 files changed, 0 insertions, 0 deletions