Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit653cd3e

Browse files
committed
Fix memory leak.
1 parentea7b4f1 commit653cd3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/psql/print.c

Lines changed: 2 additions & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp