sd-bus: rename introspect_free() -> introspect_done

This commit is contained in:
Yu Watanabe
2023-06-01 06:47:48 +09:00
parent 5d2a48da12
commit 3256e2027b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ int introspect_finish(struct introspect *i, char **ret) {
return 0;
}
void introspect_free(struct introspect *i) {
void introspect_done(struct introspect *i) {
assert(i);
/* Normally introspect_finish() does all the work, this is just a backup for error paths */
+1 -1
View File
@@ -23,4 +23,4 @@ int introspect_write_interface(
const char *interface_name,
const sd_bus_vtable *v);
int introspect_finish(struct introspect *i, char **ret);
void introspect_free(struct introspect *i);
void introspect_done(struct introspect *i);
+1 -1
View File
@@ -927,7 +927,7 @@ int introspect_path(
sd_bus_error *error) {
_cleanup_ordered_set_free_free_ OrderedSet *s = NULL;
_cleanup_(introspect_free) struct introspect intro = {};
_cleanup_(introspect_done) struct introspect intro = {};
bool empty;
int r;