diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-27 18:03:16 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-30 12:04:01 +0200 |
commit | e17bdaab2b36db54f0214a14f394fa773cee58df (patch) | |
tree | d0536c1be4d201813daef2b6f7ef61da592aad21 /contrib | |
parent | 0da41187dfda6abecbcbc237471254ab614e063d (diff) |
coverity-model: write models fully for non-array allocation functions
Coverity seems to have issues figuring out the properties of g_malloc0
and other non *_n functions. While this was "fixed" by removing the
custom second argument to __coverity_mark_as_afm_allocated__, inline
the code from the array-based allocation functions to avoid future
issues.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions