]> Git Repo - qemu.git/commit - qga/commands-posix.c
qga: fix 'driver' leak in guest-get-fsinfo
authorMarc-André Lureau <[email protected]>
Thu, 5 Jul 2018 16:16:29 +0000 (18:16 +0200)
committerMichael Roth <[email protected]>
Mon, 16 Jul 2018 17:51:32 +0000 (12:51 -0500)
commitbb23a7362a7942739f080990a53e44afc319e36c
tree943154b0216709d5f67621d848767d6030f8c6e3
parent102ad0a80f5110483efd06877c29c4236be267f9
qga: fix 'driver' leak in guest-get-fsinfo

'driver' is leaked when the loop is not broken.

Leak introduced by commit 743c71d03c20d64f2bae5fba6f26cdf5e4b1bda6,
spotted by ASAN.

Signed-off-by: Marc-André Lureau <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
qga/commands-posix.c
This page took 0.022968 seconds and 4 git commands to generate.