ipcc: Avoid leak of dup'ed client file descriptor
Clean up the dup'ed file descriptor on the error path.
Avoid leaking file descriptors in client applications
under error conditions such as the corosync daemon being down,
or low memory conditions.
Signed-off-by: dan clark <2clarkd@gmail.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>