diff options
author | Zhang Chen <chen.zhang@intel.com> | 2019-07-23 01:18:28 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2019-07-29 16:29:30 +0800 |
commit | f77bed14f01557596727c4eea042e9818c242049 (patch) | |
tree | 8f3f7117835e41f5422b2250188c091e65cc0e06 /hw | |
parent | 389abe1dd1790c0de7a2f1f422dcdf778b509a16 (diff) | |
download | qemu-f77bed14f01557596727c4eea042e9818c242049.zip qemu-f77bed14f01557596727c4eea042e9818c242049.tar.gz qemu-f77bed14f01557596727c4eea042e9818c242049.tar.bz2 |
net/colo-compare.c: Fix memory leak and code style issue.
This patch to fix the origin "char *data" memory leak, code style issue
and add necessary check here.
Reported-by: Coverity (CID 1402785)
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions