aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-09-12 18:30:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-09-12 18:30:50 +0000
commitabc98dcc152bd3d8e2661c0f50988638725e838d (patch)
tree3a09c2377034ebd8ab5c9fb9337ca71e1c339ccf /src/tutorial/funcs.c
parent493f72606b463a75ae4e2ee4e64d829e7f56066d (diff)
downloadpostgresql-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