projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Component creation
[babeltrace.git]
/
plugins
/
sink.c
diff --git
a/plugins/sink.c
b/plugins/sink.c
index bb9e1b0cc83932245279af9b42f35c9a40760609..363a66c7fe26d9e9a4bda385f9f75b1b8de18d85 100644
(file)
--- a/
plugins/sink.c
+++ b/
plugins/sink.c
@@
-58,8
+58,7
@@
struct bt_component *bt_component_sink_create(
ret = bt_component_init(&sink->parent, class, name,
bt_component_sink_destroy);
if (ret != BT_COMPONENT_STATUS_OK) {
- g_free(sink);
- sink = NULL;
+ BT_PUT(sink);
goto end;
}
end:
This page took
0.022829 seconds
and
4
git commands to generate.