Fix: fd leak in process client msg error path
authorDavid Goulet <dgoulet@efficios.com>
Tue, 14 May 2013 16:41:49 +0000 (12:41 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 15 May 2013 14:21:07 +0000 (10:21 -0400)
commit36134aa184c8ed8f67a197d66d1310425abbf1ce
tree0aae08faf0a6b04477ea730cd578e18ba3fb0461
parentf949b23ee2362d8f88cebe3ddc9c7f7f9f1edf17
Fix: fd leak in process client msg error path

The process_client_msg() function could return an error but no
sock_error. In any case, we have to close the socket since a TODO is
still there indicating that we need to reply to the client to inform of
the error.

Issue 1019920 of coverity scan.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.026758 seconds and 4 git commands to generate.