lib: move plugin set API declarations to `babeltrace/plugin/plugin-set.h`
[babeltrace.git] / lib / ctf-writer / field-path.c
index 24ef9efc0744e870a6d745502506e44d1a03f997..21d4b6925bbfe6f4a36a96e9b83f04be66cd256b 100644 (file)
@@ -79,7 +79,7 @@ struct bt_ctf_field_path *bt_ctf_field_path_create(void)
        return field_path;
 
 error:
-       BT_PUT(field_path);
+       BT_OBJECT_PUT_REF_AND_RESET(field_path);
        return NULL;
 }
 
This page took 0.025871 seconds and 4 git commands to generate.