We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db5fd5 commit 30fed24Copy full SHA for 30fed24
1 file changed
src/catalog/tde_keyring.c
@@ -715,17 +715,16 @@ GetKeyProviderByID(int provider_id, Oid dbOid)
715
ereport(LOG, errmsg("FOUND KEYRING"));
716
ereport(LOG, errmsg("keyring id=%d", keyring->keyring_id));
717
ereport(LOG, errmsg("keyring name=%s", keyring->provider_name));
718
- simple_list_free(providers);
719
- }
720
- SimplePtrListCell *cell;
721
- if (providers != NULL)
722
- {
+
+ SimplePtrListCell *cell;
723
for (cell = providers->head; cell; cell = cell->next)
724
{
725
GenericKeyring *keyring = (GenericKeyring *) cell->ptr;
726
727
728
}
+ simple_list_free(providers);
729
730
731
return keyring;
0 commit comments