diff --git a/contrib/pg_tde/src/catalog/tde_principal_key.c b/contrib/pg_tde/src/catalog/tde_principal_key.c index 5e73d35bbda35..b7d894d823ddb 100644 --- a/contrib/pg_tde/src/catalog/tde_principal_key.c +++ b/contrib/pg_tde/src/catalog/tde_principal_key.c @@ -679,9 +679,7 @@ pg_tde_get_key_info(PG_FUNCTION_ARGS, Oid dbOid) /* Make the tuple into a datum */ result = HeapTupleGetDatum(tuple); -#ifndef FRONTEND pfree(keyring); -#endif PG_RETURN_DATUM(result); }