]> Git Repo - qemu.git/commit - nbd/client.c
nbd: fix memory leak in nbd_opt_go()
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 27 Jul 2017 02:42:09 +0000 (23:42 -0300)
committerEric Blake <[email protected]>
Fri, 28 Jul 2017 16:58:20 +0000 (11:58 -0500)
commit158b9aa568eabe614d37882dddc2eea534edc7ae
tree7dd7a5f22295c64bd63b0f968c99a6621c10da53
parent3aabfec2c83da500ae52fc87ff3a0a60718022db
nbd: fix memory leak in nbd_opt_go()

nbd/client.c:385:12: warning: Potential leak of memory pointed to by 'buf'

Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <20170727024224[email protected]>
[introduced in commit 8ecaeae8]
Signed-off-by: Eric Blake <[email protected]>
nbd/client.c
This page took 0.020978 seconds and 4 git commands to generate.