diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-05-31 14:39:41 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-31 17:12:51 +0100 |
commit | a71bfb4a6aabfe5e6f145883020153103c7fdfba (patch) | |
tree | 51cf12fe09b912b8875c43310b6e35e66bf766f4 /drivers/hid/wacom.h | |
parent | 884ca45613c47efe4b0b1238f6ee677d74fe3419 (diff) |
tools:iio:generic_buffer: fix order of freeing data
data gets allocated before buffer_access, so it should be freed in reverse
order. Otherwise, if allocating buffer_access fails, an attempt to free it
would be taken, which should not happen.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/hid/wacom.h')
0 files changed, 0 insertions, 0 deletions