lib: make public reference count functions have strict types
[babeltrace.git] / cli / babeltrace-cfg-cli-args-connect.c
index e72ff30e9701715a7dfb7bf4db49ad17bc1ca15e..020fbdcc137e3f4b7a98252bd3409eeef992e791 100644 (file)
@@ -584,7 +584,7 @@ static int validate_all_components_connected(struct bt_config *cfg,
        }
 
 end:
-       bt_object_put_ref(connected_components);
+       bt_value_put_ref(connected_components);
        return ret;
 }
 
@@ -635,7 +635,7 @@ static int validate_no_duplicate_connection(struct bt_config *cfg,
        }
 
 end:
-       bt_object_put_ref(flat_connection_names);
+       bt_value_put_ref(flat_connection_names);
 
        if (flat_connection_name) {
                g_string_free(flat_connection_name, TRUE);
This page took 0.023873 seconds and 4 git commands to generate.