Rename: bt_put(), bt_get() -> bt_object_put_ref(), bt_object_get_ref()
[babeltrace.git] / lib / graph / notification / event.c
index d8178eca6fea9e62a4c1f5813704513a7667aea3..aec13e6c7cbc41ed0cc813927c6caf9fcda94d59 100644 (file)
@@ -70,7 +70,7 @@ struct bt_notification *bt_notification_event_new(
        goto end;
 
 error:
-       BT_PUT(notification);
+       BT_OBJECT_PUT_REF_AND_RESET(notification);
 
 end:
        return (void *) notification;
This page took 0.023547 seconds and 4 git commands to generate.