[systemd-devel] [PATCH 4/4] connection: unref ep and bus and free match_db on error path
Djalal Harouni
tixxdz at opendz.org
Sun Mar 30 17:41:26 PDT 2014
Signed-off-by: Djalal Harouni <tixxdz at opendz.org>
---
connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/connection.c b/connection.c
index c623720..e01e0ab 100644
--- a/connection.c
+++ b/connection.c
@@ -2062,7 +2062,7 @@ int kdbus_conn_new(struct kdbus_ep *ep,
ret = kdbus_name_acquire(bus->name_registry, conn,
name, &flags, NULL);
if (ret < 0)
- goto exit_free_pool;
+ goto exit_unref_ep;
}
if (is_monitor) {
--
1.8.5.3
More information about the systemd-devel
mailing list