qemu-e2k/nbd
Philippe Mathieu-Daudé 158b9aa568 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é <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170727024224.22900-5-f4bug@amsat.org>
[introduced in commit 8ecaeae8]
Signed-off-by: Eric Blake <eblake@redhat.com>
2017-07-28 11:58:20 -05:00
..
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
client.c nbd: fix memory leak in nbd_opt_go() 2017-07-28 11:58:20 -05:00
common.c nbd: Expose and debug more NBD constants 2017-07-14 12:04:41 +02:00
nbd-internal.h nbd: Fix server reply to NBD_OPT_EXPORT_NAME of older clients 2017-07-17 17:06:46 -05:00
server.c nbd: Fix server reply to NBD_OPT_EXPORT_NAME of older clients 2017-07-17 17:06:46 -05:00
trace-events nbd: Trace client command being sent 2017-07-17 17:06:30 -05:00