Skip to content
Commit 158b9aa5 authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by Eric Blake
Browse files

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: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Message-Id: <20170727024224.22900-5-f4bug@amsat.org>
[introduced in commit 8ecaeae8]
Signed-off-by: default avatarEric Blake <eblake@redhat.com>
parent 3aabfec2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment