]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
FileStore: fix filedescriptor leak in mkfs
authorSamuel Just <sam.just@inktank.com>
Tue, 25 Sep 2012 22:15:58 +0000 (15:15 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 26 Sep 2012 17:16:24 +0000 (10:16 -0700)
commit620701df498d16ccb63cd7c07059ee44e28a05a1
treef3292fd87afa347981a0b513d9d078d9e2e1cb41
parent33f96181dd78794b497af327391376a0e6ae5000
FileStore: fix filedescriptor leak in mkfs

CID 717091: Resource leak (RESOURCE_LEAK)At (39): Handle variable "fd" going
out of scope leaks the handle.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/os/FileStore.cc