Re: [Qemu-devel] [PATCH] tests: check-qjson: fix a memory leak

2018-10-02 Thread Eric Blake
On 10/2/18 11:26 AM, Li Qiang wrote: Spotted by ASAN. = ==17531==ERROR: LeakSanitizer: detected memory leaks Direct leak of 1120 byte(s) in 28 object(s) allocated from: #0 0x7f9fb85eeb50 in __interceptor_malloc (/usr/lib/x86_

Re: [Qemu-devel] [PATCH] tests: check-qjson: fix a memory leak

2018-10-02 Thread Marc-André Lureau
Hi On Tue, Oct 2, 2018 at 8:27 PM Li Qiang wrote: > > Spotted by ASAN. > > = > ==17531==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1120 byte(s) in 28 object(s) allocated from: > #0 0x7f9fb85eeb50 in __intercept

[Qemu-devel] [PATCH] tests: check-qjson: fix a memory leak

2018-10-02 Thread Li Qiang
Spotted by ASAN. = ==17531==ERROR: LeakSanitizer: detected memory leaks Direct leak of 1120 byte(s) in 28 object(s) allocated from: #0 0x7f9fb85eeb50 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb50) #