X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fir%2Fevent.c;h=eaa725521d30a788cc71f1a037311cfd9a603458;hb=40a4aeaa129afbd824def85707e16d5dc1eb44dd;hp=3988b168e432551488ae8dd678109d4f13a52b44;hpb=61cf588beae752e5ddfc60b6b5310f769ac9e852;p=babeltrace.git diff --git a/formats/ctf/ir/event.c b/formats/ctf/ir/event.c index 3988b168..eaa72552 100644 --- a/formats/ctf/ir/event.c +++ b/formats/ctf/ir/event.c @@ -860,10 +860,6 @@ void bt_ctf_event_class_destroy(struct bt_object *obj) { struct bt_ctf_event_class *event_class; - /* - * Don't call put() on the stream class. See comment in - * bt_ctf_event_class_set_stream_class for explanation. - */ event_class = container_of(obj, struct bt_ctf_event_class, base); bt_ctf_attributes_destroy(event_class->attributes); bt_put(event_class->context);