Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 653cd3e

Browse files
committed
Fix memory leak.
1 parent ea7b4f1 commit 653cd3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/psql/print.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.16 2001/02/27 08:13:27 ishii Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.17 2001/03/01 18:52:50 petere Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "print.h"
@@ -1116,6 +1116,7 @@ printQuery(const PGresult *result, const printQueryOpt *opt, FILE *fout)
11161116
free(footers[0]);
11171117
free(footers);
11181118
}
1119+
free(align);
11191120
}
11201121

11211122

0 commit comments

Comments
 (0)