Re: [PATCH 3/3] s390x/cpu: Use timer_free() in the finalize function to avoid memleaks

2020-12-08 Thread Cornelia Huck
On Fri, 4 Dec 2020 16:12:09 +0800 Gan Qixin wrote: > When running device-introspect-test, a memory leak occurred in the > s390_cpu_initfn > function, this patch use timer_free() in the finalize function to fix it. > > ASAN shows memory leak stack: > > Direct leak of 3552 byte(s) in 74 object(s

RE: [PATCH 3/3] s390x/cpu: Use timer_free() in the finalize function to avoid memleaks

2020-12-07 Thread ganqixin
; Chenqun (kuhn) > ; da...@gibson.dropbear.id.au; Richard > Henderson ; David Hildenbrand > ; qemu-s3...@nongnu.org > Subject: Re: [PATCH 3/3] s390x/cpu: Use timer_free() in the finalize > function to avoid memleaks > > On Fri, 4 Dec 2020 16:12:09 +0800 > Gan Qixin wrote: >

Re: [PATCH 3/3] s390x/cpu: Use timer_free() in the finalize function to avoid memleaks

2020-12-04 Thread David Hildenbrand
On 04.12.20 09:36, Cornelia Huck wrote: > On Fri, 4 Dec 2020 16:12:09 +0800 > Gan Qixin wrote: > >> When running device-introspect-test, a memory leak occurred in the >> s390_cpu_initfn >> function, this patch use timer_free() in the finalize function to fix it. >> >> ASAN shows memory leak stac

Re: [PATCH 3/3] s390x/cpu: Use timer_free() in the finalize function to avoid memleaks

2020-12-04 Thread Cornelia Huck
On Fri, 4 Dec 2020 16:12:09 +0800 Gan Qixin wrote: > When running device-introspect-test, a memory leak occurred in the > s390_cpu_initfn > function, this patch use timer_free() in the finalize function to fix it. > > ASAN shows memory leak stack: > > Direct leak of 3552 byte(s) in 74 object(s