Free buffer allocated via malloc (process is short-lived, but fix it anyway).

This commit is contained in:
Bruce Momjian 2005-06-09 22:36:27 +00:00
parent 3572e531ca
commit 51746c4549

View File

@ -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 *