diff options
| author | 2015-09-04 15:34:15 +0530 | |
|---|---|---|
| committer | 2015-09-12 18:24:43 -0700 | |
| commit | 360e27a91dd25fb7cf3b2befa1e1a7b4f27828d2 (patch) | |
| tree | dc6cbc8e2692a42d44c843a7105975a2dc32b0b0 /scripts | |
| parent | staging: wilc1000: use id value as argument (diff) | |
staging: wilc1000: fix freeing of ERR_PTR
If memdup_user() fails then it will return the error code in ERR_PTR. We
were checking it with IS_ERR but then again trying to free it on the
error path.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
