diff options
| author | Zhang Chen | 2019-07-22 19:18:28 +0200 |
|---|---|---|
| committer | Jason Wang | 2019-07-29 10:29:30 +0200 |
| commit | f77bed14f01557596727c4eea042e9818c242049 (patch) | |
| tree | 8f3f7117835e41f5422b2250188c091e65cc0e06 /python | |
| parent | net: tap: replace snprintf with g_strdup_printf calls (diff) | |
| download | qemu-f77bed14f01557596727c4eea042e9818c242049.tar.gz qemu-f77bed14f01557596727c4eea042e9818c242049.tar.xz qemu-f77bed14f01557596727c4eea042e9818c242049.zip | |
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 'python')
0 files changed, 0 insertions, 0 deletions
