lib: use object pool for event and packet notifications
[babeltrace.git] / lib / graph / connection.c
index 73b5383dee347e0fe7a8ae1aa436032d9ce6e1e0..91d130edcf6c9147bcfac3f36ae69bde57bcc8b9 100644 (file)
@@ -117,10 +117,10 @@ void bt_connection_parent_is_owner(struct bt_object *obj)
        bt_connection_try_remove_from_graph(connection);
 }
 
-struct bt_connection *bt_connection_from_private(
+struct bt_connection *bt_connection_borrow_from_private(
                struct bt_private_connection *private_connection)
 {
-       return bt_get(bt_connection_borrow_from_private(private_connection));
+       return (void *) private_connection;
 }
 
 BT_HIDDEN
This page took 0.023314 seconds and 4 git commands to generate.