lib: graph: add "self" and some "private" APIs
[babeltrace.git] / include / babeltrace / ctf-writer / event-internal.h
index 3a06131b26066635a9f69c5fc4ea53a7b374de3e..e6e15bdd62af40e7f76d71776ec31102cb496853 100644 (file)
@@ -2,8 +2,6 @@
 #define BABELTRACE_CTF_WRITER_EVENT_INTERNAL_H
 
 /*
- * BabelTrace - CTF Writer: Event
- *
  * Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
@@ -238,7 +236,7 @@ void bt_ctf_event_common_finalize(struct bt_object *obj,
                 * common ancestor with it to guarantee they would both have the
                 * same lifetime.
                 */
-               bt_put(event->class);
+               bt_object_put_ref(event->class);
        }
 }
 
This page took 0.023959 seconds and 4 git commands to generate.