diff options
author | Mark A. Greer <mgreer@animalcreek.com> | 2014-09-24 03:38:02 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-11-28 14:37:47 +0300 |
commit | b15829ba5e82b919513f8ac70e97b4e474fae641 (patch) | |
tree | c7a64e6e7db2d9de2af319b8b3a91f3310037da8 /init | |
parent | 18ca43823f3ce111c6efb8cc90d9f35246527727 (diff) | |
download | linux-b15829ba5e82b919513f8ac70e97b4e474fae641.tar.xz |
NFC: digital: Fix potential skb leaks in NFC-DEP code
When digital_in_send_cmd() or digital_tg_send_cmd()
fail, they do not free the skb that was passed to
them so the routine that allocated the skb should
free it. Currently, there are several routines in
the NFC-DEP code that don't do this so make them.
Reviewed-by: Thierry Escande <thierry.escande@linux.intel.com>
Tested-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions