diff options
| author | Derek Su | 2020-05-22 09:53:57 +0200 |
|---|---|---|
| committer | Jason Wang | 2020-06-18 15:05:52 +0200 |
| commit | bdadbb0f74305d1509805936bf9b1ac14eab30e4 (patch) | |
| tree | 7b155cb52c38dcb58d8d834b1403c6aa6df2f084 /scripts/update-linux-headers.sh | |
| parent | net/colo-compare.c: Correct ordering in complete and finalize (diff) | |
| download | qemu-bdadbb0f74305d1509805936bf9b1ac14eab30e4.tar.gz qemu-bdadbb0f74305d1509805936bf9b1ac14eab30e4.tar.xz qemu-bdadbb0f74305d1509805936bf9b1ac14eab30e4.zip | |
colo-compare: Fix memory leak in packet_enqueue()
The patch is to fix the "pkt" memory leak in packet_enqueue().
The allocated "pkt" needs to be freed if the colo compare
primary or secondary queue is too big.
Replace the error_report of full queue with a trace event.
Signed-off-by: Derek Su <dereksu@qnap.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'scripts/update-linux-headers.sh')
0 files changed, 0 insertions, 0 deletions
