 +}
 +
 diff --git a/pgp-pgsql.c b/pgp-pgsql.c
-index c251d3f..b0cbe63 100644
+index c251d3f..d04d1a3 100644
 --- a/pgp-pgsql.c
 +++ b/pgp-pgsql.c
 @@ -35,6 +35,10 @@

+	PGP_ISSUER_ID = 16
+};
+
+#define PGP_MAX_KEY					(256/8)
+#define PGP_MAX_BLOCK				(256/8)
+#define PGP_MAX_DIGEST				(512/8)
+#define PGP_MAX_DIGEST_ASN1_PREFIX	20
+#define PGP_S2K_SALT				8
 
 typedef struct PGP_MPI PGP_MPI;
 typedef struct PGP_PubKey PGP_PubKey;

+	PG_FREE_IF_COPY(key, 1);
+	PG_FREE_IF_COPY(sigkey, 2);
+	if (PG_NARGS() > 3)
+		PG_FREE_IF_COPY(psw, 3);
+	if (PG_NARGS() > 4)
+		PG_FREE_IF_COPY(arg, 4);
+	PG_RETURN_TEXT_P(res);
