diff options
| author | Derek Su <dereksu@qnap.com> | 2020-05-22 15:53:57 +0800 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2020-06-18 21:05:52 +0800 |
| commit | bdadbb0f74305d1509805936bf9b1ac14eab30e4 (patch) | |
| tree | 7b155cb52c38dcb58d8d834b1403c6aa6df2f084 /scripts/minikconf.py | |
| parent | 5bd57eba041fb62c373f89c311936000c115fdd6 (diff) | |
| download | focaccia-qemu-bdadbb0f74305d1509805936bf9b1ac14eab30e4.tar.gz focaccia-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/minikconf.py')
0 files changed, 0 insertions, 0 deletions