nbd-server: fix several memory leaks in connection handling code
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Jun 2012 21:44:18 +0000 (01:44 +0400)
committerWouter Verhelst <w@uter.be>
Sat, 23 Jun 2012 23:38:35 +0000 (01:38 +0200)
commite68de3612ac5b58bf64134216e22b131995e62a7
tree32577de904074eaa2f1fd7fcf213e819464a66f8
parent0b019ad559f6a664fa6f15c429c0bf6ea99ed564
nbd-server: fix several memory leaks in connection handling code

This change fixes a CLIENT leak on normal path in the parent process,
several CLIENT leaks on error path in the parent process, a pid_t leak
on error path in the parent process, and a pid_t leak in the child
process.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
nbd-server.c