mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
test: free after use
CID 1384238.
This commit is contained in:
@@ -487,7 +487,7 @@ static void test_getpeercred_getpeergroups(void) {
|
||||
if (r == 0) {
|
||||
static const gid_t gids[] = { 3, 4, 5, 6, 7 };
|
||||
gid_t *test_gids;
|
||||
gid_t *peer_groups = NULL;
|
||||
_cleanup_free_ gid_t *peer_groups = NULL;
|
||||
size_t n_test_gids;
|
||||
uid_t test_uid;
|
||||
gid_t test_gid;
|
||||
|
||||
Reference in New Issue
Block a user