projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctf.fs: bt_ctf_notif_iter_create(): assert() that all medops exist
[babeltrace.git]
/
plugins
/
ctf
/
common
/
notif-iter
/
notif-iter.c
diff --git
a/plugins/ctf/common/notif-iter/notif-iter.c
b/plugins/ctf/common/notif-iter/notif-iter.c
index c4b6f68da94b6b3c41c0489b6eaa4b72e76779fb..d82c9b85a6fe8bb7ad7d7d8d6f8d9d2cefdd915d 100644
(file)
--- a/
plugins/ctf/common/notif-iter/notif-iter.c
+++ b/
plugins/ctf/common/notif-iter/notif-iter.c
@@
-2328,6
+2328,7
@@
struct bt_ctf_notif_iter *bt_ctf_notif_iter_create(struct bt_ctf_trace *trace,
assert(trace);
assert(medops.request_bytes);
+ assert(medops.get_stream);
notit = g_new0(struct bt_ctf_notif_iter, 1);
if (!notit) {
PERR("Failed to allocate memory for CTF notification iterator\n");
This page took
0.023017 seconds
and
4
git commands to generate.