commit | 3330d1208fc7cc43f133acd55e7e78aadfd64375 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Sep 04 11:12:04 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Tue Sep 04 11:12:04 2018 -0700 |
tree | ab1ed4aabcb79dfac2a5088d6dcd71cbe3366002 | |
parent | 608fa51d55ea09caa31c2a4ec2d365db858cd86f [diff] |
statsd: fix double close. Previously, fdopen was being called on a file descriptor that was owned by a unique_fd without releasing. This leads to a double close, since both fclose and the unique_fd destructor will try to close the fd. Bug: http://b/113880863 Test: treehugger Change-Id: I6f6f48d304861b5e4d7efee0d3ad0e30178a95a4