commit | 770f750bc2b8312489c8e45306f551d08a319d3c | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@tieto.com> | Mon Oct 29 14:04:43 2012 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Nov 20 00:09:26 2012 +0100 |
tree | 2d7cdc8555287311e9b1e7003e938ca70aa4c02c | |
parent | 60ad07ab6bc86f48b6ebda1788d79ca5f88d824c [diff] |
NFC: pn533: Fix use after free cmd was freed in pn533_dep_link_up regardless of pn533_send_cmd_frame_async return code. Cmd is passed as argument to pn533_in_dep_link_up_complete callback and should be freed there. Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>