diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-11-18 10:23:54 +0000 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-11-22 17:38:15 +0000 |
commit | 9ce35233658d6c19a4458ec7e728b6ee75fd3ace (patch) | |
tree | 77ff2e9d3cd4af5ca7f07a00e0fd37062e6f340f /src/vppinfra/error_bootstrap.h | |
parent | 418ebb711e7f32a160f824cee7de0122076d216a (diff) |
vppinfra: fix coverity issue 205691 in pmalloc
set the address to MMAP_FAILED if mmap has failed,
so that we do not attempt to free it in the error
handling path.
Change-Id: I6e6b51a365fb68086dc20aa40a676a36af59a3ba
Type: fix
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vppinfra/error_bootstrap.h')
0 files changed, 0 insertions, 0 deletions