projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: graph API: return borrowed references when adding to an object
[babeltrace.git]
/
src
/
lib
/
graph
/
graph.c
diff --git
a/src/lib/graph/graph.c
b/src/lib/graph/graph.c
index 10080b953a22ef35979741fc832a130096109658..9e7e8ffce188b0b156a067c40d0febb8d4365f0f 100644
(file)
--- a/
src/lib/graph/graph.c
+++ b/
src/lib/graph/graph.c
@@
-433,7
+433,6
@@
enum bt_graph_connect_ports_status bt_graph_connect_ports(
if (user_connection) {
/* Move reference to user */
*user_connection = connection;
- connection = NULL;
}
end:
@@
-1020,7
+1019,6
@@
int add_component_with_init_method_data(
if (user_component) {
/* Move reference to user */
*user_component = component;
- component = NULL;
}
end:
This page took
0.023574 seconds
and
4
git commands to generate.