connection: fix error unwinding of kdbus_conn_new()
authorDaniel Mack <zonque@gmail.com>
Thu, 16 Jan 2014 17:45:15 +0000 (18:45 +0100)
committerDaniel Mack <zonque@gmail.com>
Thu, 16 Jan 2014 17:57:58 +0000 (18:57 +0100)
commitda556858fda18596f4e1b50eac9ebdf3f7826a3c
tree18a9426044ce49654db119697cfe9a55e97437d2
parent9b1918fc4929cc9b4ec49a17cc12c07bea446de8
connection: fix error unwinding of kdbus_conn_new()

It's not safe to unref a half-baked connection, so conduct a real error
unwinding in case of errors.
connection.c