summaryrefslogtreecommitdiff
path: root/net/ceph/Kconfig
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-05-31 14:39:45 +0200
committerJonathan Cameron <jic23@kernel.org>2015-05-31 17:22:56 +0100
commit121b5e505fe86ea52603c946865d658a5fe8130b (patch)
treeca199605bfc1aa3be8e15dc3e56dd16849312149 /net/ceph/Kconfig
parent63f05c855f3825b89b92cd21df0415e6e32af3dd (diff)
tools:iio:iio_utils: fix allocation handling
In build_channel_array(), count needs to be decreased in more places since current->name and current->generic_name would be freed on the error path, although they have not been allocated, yet. This also requires to free current->name, when it is allocated, but current->generic_name is not yet allocated. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'net/ceph/Kconfig')
0 files changed, 0 insertions, 0 deletions