projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup error paths in trimmer, writer and ctfcopytrace
[babeltrace.git]
/
plugins
/
writer
/
writer.c
diff --git
a/plugins/writer/writer.c
b/plugins/writer/writer.c
index f0aa8badf371603df8d30e225eacb03bfcb36161..3d99a086df5befae20521a4d804afa1a4be06945 100644
(file)
--- a/
plugins/writer/writer.c
+++ b/
plugins/writer/writer.c
@@
-69,7
+69,7
@@
void finalize_writer_component(struct bt_private_component *component)
static
void unref_stream_class(struct bt_ctf_stream_class *writer_stream_class)
{
-
return
;
+
bt_put(writer_stream_class)
;
}
static
@@
-81,7
+81,7
@@
void unref_stream(struct bt_ctf_stream_class *writer_stream)
static
void unref_trace(struct bt_ctf_writer *writer)
{
-
return
;
+
bt_put(writer)
;
}
static
This page took
0.022666 seconds
and
4
git commands to generate.