Skip to content

Commit 51746c4

Browse files
committed
Free buffer allocated via malloc (process is short-lived, but fix it anyway).
1 parent 3572e53 commit 51746c4

File tree

1 file changed

+2
-1
lines changed
  • src/backend/access/transam

1 file changed

+2
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.198 2005/06/08 15:50:26 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.199 2005/06/09 22:36:27 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -3771,6 +3771,7 @@ BootStrapXLOG(void)
37713771
BootStrapCLOG();
37723772
BootStrapSUBTRANS();
37733773
BootStrapMultiXact();
3774+
free(buffer);
37743775
}
37753776

37763777
static char *

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy