[Gluster-devel] posix-locks memory leak?

Rommer rommer at active.by
Sat Oct 18 14:43:07 UTC 2008


Hello,

I found memory leak in posix-locks xlator:
pl_inode_t structure for locking allocated in functions
truncate_stat_cbk(), pl_open_cbk() and pl_create_cbk() and
freeing only in pl_forget() function, that never calling by
server xlator. Server xlator does only inode_forget(), that
does not free this structure from inode->ctx dictionary.

Rommer.





More information about the Gluster-devel mailing list