diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-10-24 09:41:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-11-09 12:33:24 (GMT) |
commit | fe26980e03f435164777184a91c1e5f3b4ed22a5 (patch) | |
tree | 80498933c52076c599558222b5aa0186ee1e2bb5 /net/ipv4/ah4.c | |
parent | 5fa4061301d246203276a663f293c0d2beaec128 (diff) | |
download | linux-fsl-qoriq-fe26980e03f435164777184a91c1e5f3b4ed22a5.tar.xz |
iio: adc: ti_am335x_adc: avoid double free of buffer.
The driver is missing the iio_buffer_attach() call. As such it will attempt
to free the buffer twice on removal.
Introduced in commit 9e69c9 ("iio: Add reference counting for buffers").
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'net/ipv4/ah4.c')
0 files changed, 0 insertions, 0 deletions