projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize component class init callback
[babeltrace.git]
/
lib
/
plugin-system
/
component.c
diff --git
a/lib/plugin-system/component.c
b/lib/plugin-system/component.c
index 667601e1b7ea08190e7543565a7803d8c85906bf..483788acd6be9381f7fa3cb156d09ddd105f118f 100644
(file)
--- a/
lib/plugin-system/component.c
+++ b/
lib/plugin-system/component.c
@@
-126,7
+126,7
@@
struct bt_component *bt_component_create(
bt_object_init(component, bt_component_destroy);
component->class = bt_get(component_class);
component->name = g_string_new(name);
- if (component->name) {
+ if (
!
component->name) {
BT_PUT(component);
goto end;
}
This page took
0.024259 seconds
and
4
git commands to generate.