BUG #4495: Memory leak in procarray.c - Mailing list pgsql-bugs

From
Subject BUG #4495: Memory leak in procarray.c
Date
Msg-id 200810242030.m9OKUqRB013469@wwwmaster.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4495
Logged by:
Email address:      dvice_null@yahoo.com
PostgreSQL version: Latest cvs
Operating system:   Error in source code
Description:        Memory leak in procarray.c
Details:

In file src/backend/storage/ipc/procarray.c:386

I realize (from the comments) that xids is supposed to hold memory for the
whole time of the programs execution, but it seems to me that it leaks
memory when program is closed.

Modern operating systems should release the memory when program is closed
even if the application doesn't release it, but I thought about reporting
this anyway.

pgsql-bugs by date:

Previous
From: ""
Date:
Subject: BUG #4494: Memory leak in pg_regress.c
Next
From: ""
Date:
Subject: BUG #4496: Memory leak in pg_dump.c?