socket-server: pa_socket_server_new() can't fail, so don't check its return value
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 3 Nov 2014 09:47:58 +0000 (11:47 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Thu, 12 Feb 2015 19:33:44 +0000 (20:33 +0100)
commit73dee7c9f7fff28ddc5ca6eeded26ef8c41fe761
treef8b3d69f2f2dff5e8f5ac257bc511d5cd5fce524
parent53ad8aa7caa33caac52e35f71253e29d5a15f6e7
socket-server: pa_socket_server_new() can't fail, so don't check its return value

An assertion was already used in pa_socket_server_new_unix(), this
makes the TCP variants consistent with that.

Even if pa_socket_server_new() could fail, the error handling wasn't
good, because there was no "goto fail", meaning that the fd would have
been leaked.
src/pulsecore/socket-server.c