diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-12 18:30:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-12 18:30:50 +0000 |
commit | abc98dcc152bd3d8e2661c0f50988638725e838d (patch) | |
tree | 3a09c2377034ebd8ab5c9fb9337ca71e1c339ccf /src/tutorial/funcs.c | |
parent | 493f72606b463a75ae4e2ee4e64d829e7f56066d (diff) | |
download | postgresql-abc98dcc152bd3d8e2661c0f50988638725e838d.tar.gz postgresql-abc98dcc152bd3d8e2661c0f50988638725e838d.zip |
When LockAcquire fails at the stage of creating a proclock object, be
sure to clean up the already-created lock object, if it has no other
references. Avoids possibly-permanent leak of shared memory.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions