summaryrefslogtreecommitdiffstats
path: root/unique_fd.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use unique_ptr and unique_fd to manager FDs.Tao Bao2015-08-101-0/+73
Clean up leaky file descriptors in uncrypt/uncrypt.cpp. Add unique_fd for open() and unique_file for fopen() to close FDs on destruction. Bug: 21496020 Change-Id: I0174db0de9d5f59cd43b44757b8ef0f5912c91a2