projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Leak fix
[babeltrace.git]
/
lib
/
plugin-system
/
component.c
diff --git
a/lib/plugin-system/component.c
b/lib/plugin-system/component.c
index 483788acd6be9381f7fa3cb156d09ddd105f118f..16bc28680cd9df654669d2467c7f91bab5e90d6f 100644
(file)
--- a/
lib/plugin-system/component.c
+++ b/
lib/plugin-system/component.c
@@
-84,7
+84,7
@@
enum bt_component_status bt_component_init(struct bt_component *component,
enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component || !destroy) {
enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component || !destroy) {
- ret = BT_COMPONENT_STATUS_INVAL;
+ ret = BT_COMPONENT_STATUS_INVAL
ID
;
goto end;
}
goto end;
}
@@
-124,7
+124,6
@@
struct bt_component *bt_component_create(
}
bt_object_init(component, bt_component_destroy);
}
bt_object_init(component, bt_component_destroy);
- component->class = bt_get(component_class);
component->name = g_string_new(name);
if (!component->name) {
BT_PUT(component);
component->name = g_string_new(name);
if (!component->name) {
BT_PUT(component);
@@
-160,7
+159,7
@@
enum bt_component_status bt_component_set_name(struct bt_component *component,
enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component || !name || name[0] == '\0') {
enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component || !name || name[0] == '\0') {
- ret = BT_COMPONENT_STATUS_INVAL;
+ ret = BT_COMPONENT_STATUS_INVAL
ID
;
goto end;
}
goto end;
}
@@
-187,7
+186,7
@@
bt_component_set_private_data(struct bt_component *component,
enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component) {
enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
if (!component) {
- ret = BT_COMPONENT_STATUS_INVAL;
+ ret = BT_COMPONENT_STATUS_INVAL
ID
;
goto end;
}
goto end;
}
This page took
0.025361 seconds
and
4
git commands to generate.