diff options
author | Bruce Momjian | 2001-02-06 18:05:13 +0000 |
---|---|---|
committer | Bruce Momjian | 2001-02-06 18:05:13 +0000 |
commit | 659a1d65c6349441f3ca1cd306b552be7de1e6dd (patch) | |
tree | 90d0bcb8e4b5cdfc3826bcb359871bc2e4c22901 /contrib/pgcrypto/pgcrypto.c | |
parent | d3aa6647988ffa48c6afca93cff6e1e1fa427420 (diff) |
Well, learned the hard way...
Marko Kreen
Diffstat (limited to 'contrib/pgcrypto/pgcrypto.c')
-rw-r--r-- | contrib/pgcrypto/pgcrypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/pgcrypto.c b/contrib/pgcrypto/pgcrypto.c index 397f5d9896e..cfd72374941 100644 --- a/contrib/pgcrypto/pgcrypto.c +++ b/contrib/pgcrypto/pgcrypto.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: pgcrypto.c,v 1.4 2001/01/24 03:46:16 momjian Exp $ + * $Id: pgcrypto.c,v 1.5 2001/02/06 18:05:13 momjian Exp $ */ #include <postgres.h> @@ -80,7 +80,7 @@ digest(PG_FUNCTION_ARGS) h->digest(h, VARDATA(arg), len, VARDATA(res)); PG_FREE_IF_COPY(arg, 0); - PG_FREE_IF_COPY(name, 0); + PG_FREE_IF_COPY(name, 1); PG_RETURN_TEXT_P(res); } |