commit | 06f2a7c3a92f9f945504159d4657b318f7237db3 | [log] [tgz] |
---|---|---|
author | Eric Paris <[email protected]> | Tue Feb 05 14:03:07 2013 -0500 |
committer | Eric Paris <[email protected]> | Tue Feb 05 20:19:04 2013 -0500 |
tree | d824628b9f51543b1a1c150aaeb6073bbd6b1300 | |
parent | 5812ec2fbbb9e9244e31525737ea967c7a795252 [diff] |
libsemanage: semanage_store: do not leak fd We use creat to create the lock file needed later. But we never close that fd, so it just sits around until the program exits. After we create the file we don't need to hold onto the fd. close it. Signed-off-by: Eric Paris <[email protected]>