mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Free buffer allocated via malloc (process is short-lived, but fix it anyway).
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* 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();
|
BootStrapCLOG();
|
||||||
BootStrapSUBTRANS();
|
BootStrapSUBTRANS();
|
||||||
BootStrapMultiXact();
|
BootStrapMultiXact();
|
||||||
|
free(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
|
Reference in New Issue
Block a user