diff options
author | arsharma <ankitprasad.r.sharma@intel.com> | 2015-02-23 21:31:07 +0000 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-05-02 09:28:51 -0400 |
commit | 201d1a7623c83f611761f67d4411c3c266f8f37a (patch) | |
tree | 1993736ed884693e5f0fc3d67737c145d1d99c46 /src/linux_sysfs.c | |
parent | af2fdf1bdc4532410f49fc0854ae4c0f9086cce9 (diff) | |
download | xorg-lib-libpciaccess-201d1a7623c83f611761f67d4411c3c266f8f37a.tar.gz |
device-name: handle calloc failure in insert()
Issue was spotted by Klocwork, and fixed by arsharma as part of
Android-ia.
Just bail out if memory allocation fails. All the callers of insert()
already handle the case.
[Emil Velikov: Split from larger patch, write commit message]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/linux_sysfs.c')
0 files changed, 0 insertions, 0 deletions