coverity-model: clean up the models for array allocation functions
commit05ad6857a57238c27df84f6c0c1943dd162a82ad
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Jul 2021 15:55:41 +0000 (27 17:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Jul 2021 10:04:01 +0000 (30 12:04 +0200)
treed7dc6046c498ac8486b8eb769335fbc19058c511
parent96915d638cb83aa139e39096815b8dd9832f264b
coverity-model: clean up the models for array allocation functions

sz is only used in one place, so replace it with nmemb * size in
that one place.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/coverity-scan/model.c