]> granicus.if.org Git - postgresql/commitdiff
Free buffer allocated via malloc (process is short-lived, but fix it anyway).
authorBruce Momjian <bruce@momjian.us>
Thu, 9 Jun 2005 22:36:27 +0000 (22:36 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 9 Jun 2005 22:36:27 +0000 (22:36 +0000)
src/backend/access/transam/xlog.c

index 6c01c20eaa36bbed41367a8c5cabb1d69ec4fade..b23138de4ccab342650e038b6d2e81e82e4af3d8 100644 (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 *