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
/
component-filter.c
diff --git
a/src/lib/graph/component-filter.c
b/src/lib/graph/component-filter.c
index 9950a50295d43d9c79450ae3226664407891873d..e805f8dadf95c29290057cd00f34fabb7d1a525c 100644
(file)
--- a/
src/lib/graph/component-filter.c
+++ b/
src/lib/graph/component-filter.c
@@
-135,7
+135,6
@@
enum bt_self_component_add_port_status bt_self_component_filter_add_output_port(
if (self_port) {
/* Move reference to user */
*self_port = (void *) port;
- port = NULL;
}
end:
@@
-205,7
+204,6
@@
enum bt_self_component_add_port_status bt_self_component_filter_add_input_port(
if (self_port) {
/* Move reference to user */
*self_port = (void *) port;
- port = NULL;
}
end:
This page took
0.022545 seconds
and
4
git commands to generate.