OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c48b3d
)
The attached patch fixes a tiny memory leak in psql, when using
author
Bruce Momjian
<bruce@momjian.us>
Thu, 18 Jul 2002 04:46:24 +0000
(
04:46
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Thu, 18 Jul 2002 04:46:24 +0000
(
04:46
+0000)
the 'expanded' output mode (\x).
Neil Conway
src/bin/psql/print.c
patch
|
blob
|
history
diff --git
a/src/bin/psql/print.c
b/src/bin/psql/print.c
index
92368f9
..
a8a0b9a
100644
(file)
--- 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.2
7 2002/07/15 01:56:25
momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.2
8 2002/07/18 04:46:24
momjian Exp $
*/
#include "postgres_fe.h"
#include "print.h"
@@
-612,6
+612,7
@@
print_aligned_vertical(const char *title, const char *const * headers,
#ifdef MULTIBYTE
free(cell_w);
+ free(head_w);
#endif
}