diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-07-04 13:13:04 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-07-04 16:54:36 +0200 |
commit | d932cd49182f97966d196fb5301bfca90f58a360 (patch) | |
tree | 9a94e87c0723413c4a6319fa080e02bffdcee003 /crypto/crypto_engine.c | |
parent | a944a892aa8ddecf6e2df432e6965dc86d73e3aa (diff) |
gpio: free handles in fringe cases
If we fail when copying the ioctl() struct to userspace we still
need to clean up the cruft otherwise left behind or it will stay
around until the issuing process terminates the file handle.
Reported-by: Alexander Stein <alexander.stein@systec-electronic.com>
Acked-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'crypto/crypto_engine.c')
0 files changed, 0 insertions, 0 deletions