summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorJohan Harvyl <johan.harvyl@sony.com>2019-11-05 09:45:20 +0100
committerJohn Eckerdal <john.eckerdal@sony.com>2019-11-05 12:20:23 +0100
commit89b09198b90c6ae98c378c9a45d23674672b6019 (patch)
tree2a7e44d156dac92caacf04f9c6c9c3540638a03f /libc/malloc_hooks/malloc_hooks.cpp
parent590bdbe6e938e1bc53b09674b7eedde440863f11 (diff)
Close descriptor in ScopeFd destructor
The underlying descriptor is supposed to be closed when the ScopedFd goes out of scope but due to a typo in reset() that never happens. This change was inspired by an earlier implementation of ScopedFd in: 04dc91ae7 Load library using file handle. Issue: 143918215 Test: Manual (verify fd usage on device) Change-Id: I5664fa82d3e732113732e34a7ae6df3ca79d3cee
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions