aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-06-09 22:36:27 +0000
committerBruce Momjian <bruce@momjian.us>2005-06-09 22:36:27 +0000
commit51746c45491f6bc35550eed59ebf5293babed861 (patch)
tree3f573552ba4b5c158bff72de52c85eb7f0e4c2dc /src/backend/access/transam/xlog.c
parent3572e531ca8cbe815dce5a5899e5bbee257e4a1c (diff)
downloadpostgresql-51746c45491f6bc35550eed59ebf5293babed861.tar.gz
postgresql-51746c45491f6bc35550eed59ebf5293babed861.zip
Free buffer allocated via malloc (process is short-lived, but fix it anyway).
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 6c01c20eaa3..b23138de4cc 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.198 2005/06/08 15:50:26 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.199 2005/06/09 22:36:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -3771,6 +3771,7 @@ BootStrapXLOG(void)
BootStrapCLOG();
BootStrapSUBTRANS();
BootStrapMultiXact();
+ free(buffer);
}
static char *