Skip to content

Commit

Permalink
Merge pull request #26 from Aiven-Open/etienne-remove-bad-free
Browse files Browse the repository at this point in the history
fix: remove unnecessary list_free
  • Loading branch information
staaldraad authored Jan 16, 2024
2 parents b3449ea + 7b8fb52 commit 46bdf15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/aiven_gatekeeper.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,10 @@ allow_granted_roles(List *addroleto)
result = allow_grant_or_alter_role(role_member_oid);
if (result != NULL)
{
list_free(addroleto);
elog(ERROR, "%s", result);
return;
}
}
list_free(addroleto);
}

static char *
Expand Down

0 comments on commit 46bdf15

Please sign in to comment.