From: Peter Eisentraut Date: Thu, 1 Mar 2001 18:52:50 +0000 (+0000) Subject: Fix memory leak. X-Git-Tag: REL7_1~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=653cd3e38ec0c9331fadf924a549a07b397a9762;p=postgresql Fix memory leak. --- diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index f5daa5c592..b72fa2172e 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.16 2001/02/27 08:13:27 ishii Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.17 2001/03/01 18:52:50 petere Exp $ */ #include "postgres_fe.h" #include "print.h" @@ -1116,6 +1116,7 @@ printQuery(const PGresult *result, const printQueryOpt *opt, FILE *fout) free(footers[0]); free(footers); } + free(align); }