diff options
author | 2016-04-25 12:04:54 +0300 | |
---|---|---|
committer | 2016-06-01 15:59:36 +0200 | |
commit | 58a2ab3af722550b2e4e8155eb08660e16c20ee6 (patch) | |
tree | 5685d16d65ee605b438678179238303128a964da /net/unix/af_unix.c | |
parent | drm: atmel-hlcdc: fix atmel_hlcdc_crtc_reset() implementation (diff) | |
download | wireguard-linux-58a2ab3af722550b2e4e8155eb08660e16c20ee6.tar.xz wireguard-linux-58a2ab3af722550b2e4e8155eb08660e16c20ee6.zip |
drm: atmel-hlcdc: fix a NULL check
If kmalloc() returned NULL we would end up dereferencing "state" a
couple lines later.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions