Lines Matching refs:g
25 static GroupRecord *group_record_free(GroupRecord *g) { in group_record_free() argument
26 if (!g) in group_record_free()
29 free(g->group_name); in group_record_free()
30 free(g->realm); in group_record_free()
31 free(g->group_name_and_realm_auto); in group_record_free()
32 free(g->description); in group_record_free()
34 strv_free(g->members); in group_record_free()
35 free(g->service); in group_record_free()
36 strv_free(g->administrators); in group_record_free()
37 strv_free_erase(g->hashed_password); in group_record_free()
39 json_variant_unref(g->json); in group_record_free()
41 return mfree(g); in group_record_free()
264 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in group_record_build()
277 g = group_record_new(); in group_record_build()
278 if (!g) in group_record_build()
281 r = group_record_load(g, v, USER_RECORD_LOAD_FULL); in group_record_build()
285 *ret = TAKE_PTR(g); in group_record_build()