projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename: bt_put(), bt_get() -> bt_object_put_ref(), bt_object_get_ref()
[babeltrace.git]
/
lib
/
graph
/
port.c
diff --git
a/lib/graph/port.c
b/lib/graph/port.c
index 5ed5f932874b82c6b6fef18a6d49bee19bb5958b..4e1b44bb6e78248aa3c6423df1789bc0603d7dbb 100644
(file)
--- a/
lib/graph/port.c
+++ b/
lib/graph/port.c
@@
-89,7
+89,7
@@
struct bt_port *bt_port_create(struct bt_component *parent_component,
port->name = g_string_new(name);
if (!port->name) {
BT_LOGE_STR("Failed to allocate one GString.");
port->name = g_string_new(name);
if (!port->name) {
BT_LOGE_STR("Failed to allocate one GString.");
- BT_
PU
T(port);
+ BT_
OBJECT_PUT_REF_AND_RESE
T(port);
goto end;
}
goto end;
}
@@
-130,7
+130,7
@@
struct bt_connection *bt_port_get_connection(struct bt_port *port)
goto end;
}
goto end;
}
- connection = bt_
get
(port->connection);
+ connection = bt_
object_get_ref
(port->connection);
end:
return connection;
end:
return connection;
@@
-201,7
+201,7
@@
enum bt_port_status bt_private_port_remove_from_component(
}
end:
}
end:
- bt_
put
(comp);
+ bt_
object_put_ref
(comp);
return status;
}
return status;
}
This page took
0.024154 seconds
and
4
git commands to generate.