diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-11-18 10:23:54 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-08-12 01:22:20 +0000 |
commit | cf758ecb71e1337f0d1fd5e9fd4744b263f01f25 (patch) | |
tree | b75c12c86ed605a1e3bb4385d679fdbb52a60e0e /test | |
parent | a8f870ac34730540cde525e0394191dcae1f5203 (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>
(cherry picked from commit 9ce35233658d6c19a4458ec7e728b6ee75fd3ace)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions