]> arthur.barton.de Git - netatalk.git/commit
Fix a ressource leak
authorRalph Boehme <sloowfranklin@gmail.com>
Mon, 26 Nov 2012 15:19:02 +0000 (16:19 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Mon, 26 Nov 2012 18:20:56 +0000 (19:20 +0100)
commitcf671eb6c9749a558b55155cdd6cbb2a65703d30
tree09124777d54393e93f696a31dc715988f74885e8
parent865a552af24003422ca4a5714b2c078963a958ef
Fix a ressource leak

Due to the ordering and multiplexing of data- and metadata handle
closing in ad_close(), a datafork lock handle was not released.
Releasing lock handles is now done when the logic fork counter
hits zero, not when the underlying filedescriptor referencing handle
count reaches zero.
libatalk/adouble/ad_flush.c