From: Bruce Momjian Date: Thu, 9 Jun 2005 22:36:27 +0000 (+0000) Subject: Free buffer allocated via malloc (process is short-lived, but fix it anyway). X-Git-Tag: REL8_1_0BETA1~598 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51746c45491f6bc35550eed59ebf5293babed861;p=postgresql Free buffer allocated via malloc (process is short-lived, but fix it anyway). --- diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 6c01c20eaa..b23138de4c 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 *