diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c index d8831eb26d7..9a2eab519b9 100644 --- a/src/interfaces/libpq/fe-print.c +++ b/src/interfaces/libpq/fe-print.c @@ -10,7 +10,7 @@ * didn't really belong there. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.48 2003/08/04 02:40:20 momjian Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.48.4.1 2006/04/19 16:15:52 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -729,8 +729,10 @@ PQprintTuples(const PGresult *res, fprintf(fout, "|\n%s\n", tborder); } } -} + if (tborder) + free(tborder); +} /* simply send out max-length number of filler characters to fp */