projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: missing reference release in field reset
[babeltrace.git]
/
formats
/
ctf
/
ir
/
stream.c
diff --git
a/formats/ctf/ir/stream.c
b/formats/ctf/ir/stream.c
index 96da8af3ce43aa7b3a68feb34aded7c4c3e8f275..b4d234703e1bb27d7725bb7ab9530232e2847dc4 100644
(file)
--- a/
formats/ctf/ir/stream.c
+++ b/
formats/ctf/ir/stream.c
@@
-876,6
+876,7
@@
void reset_structure_field(struct bt_ctf_field *structure, const char *name)
member = bt_ctf_field_structure_get_field(structure, name);
assert(member);
(void) bt_ctf_field_reset(member);
+ bt_put(member);
}
int bt_ctf_stream_flush(struct bt_ctf_stream *stream)
This page took
0.03227 seconds
and
4
git commands to generate.