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

Commit8c26bc5

Browse files
committed
The attached patch fixes a tiny memory leak in psql, when using
the 'expanded' output mode (\x).Neil Conway
1 parent2c48b3d commit8c26bc5

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.27 2002/07/15 01:56:25 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.28 2002/07/18 04:46:24 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"print.h"
@@ -612,6 +612,7 @@ print_aligned_vertical(const char *title, const char *const * headers,
612612

613613
#ifdefMULTIBYTE
614614
free(cell_w);
615+
free(head_w);
615616
#endif
616617
}
617618

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp