]> Git Repo - qemu.git/commit
tests: fix bdrv-drain leak
authorMarc-André Lureau <[email protected]>
Thu, 9 Aug 2018 11:44:15 +0000 (13:44 +0200)
committerMax Reitz <[email protected]>
Fri, 31 Aug 2018 14:28:33 +0000 (16:28 +0200)
commit7b43db3cd08f722d743c443ac3713195875d0301
treebd1d9c07db1188ea08c1b015f03dcc3ac34cc5af
parent19b599f7664b2ebfd0f405fb79c14dd241557452
tests: fix bdrv-drain leak

Spotted by ASAN:

=================================================================
==5378==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 65536 byte(s) in 1 object(s) allocated from:
    #0 0x7f788f83bc48 in malloc (/lib64/libasan.so.5+0xeec48)
    #1 0x7f788c9923c5 in g_malloc (/lib64/libglib-2.0.so.0+0x523c5)
    #2 0x5622a1fe37bc in coroutine_trampoline /home/elmarco/src/qq/util/coroutine-ucontext.c:116
    #3 0x7f788a15d75f in __correctly_grouped_prefixwc (/lib64/libc.so.6+0x4c75f)

(Broken in commit 4c8158e359d.)

Signed-off-by: Marc-André Lureau <[email protected]>
Message-id: 20180809114417[email protected]
Signed-off-by: Max Reitz <[email protected]>
tests/test-bdrv-drain.c
This page took 0.025142 seconds and 4 git commands to generate.