diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-05-13 15:37:26 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-05-13 15:43:14 +0200 |
commit | 159c8cddd9259e9379f37f0a69ddcbb01c4e8b77 (patch) | |
tree | a1cb16d4e7d1f0e5acc8e6e8e7d7aca48e957068 /drivers/accessibility | |
parent | hwmon: (nct6775) Do not create non-existing attributes (diff) | |
download | linux-159c8cddd9259e9379f37f0a69ddcbb01c4e8b77.tar.xz linux-159c8cddd9259e9379f37f0a69ddcbb01c4e8b77.zip |
hwmon: (iio_hwmon) Fix null pointer dereference
This patch fixes the null pointer dereference in goto error_release_channels
path when allocate memory for st fails.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions