commit | 816e6959f72f9c66bd848ebcc6d6b96af01be851 | [log] [tgz] |
---|---|---|
author | Reilly Grant <[email protected]> | Wed Oct 31 22:15:19 2018 |
committer | Commit Bot <[email protected]> | Wed Oct 31 22:15:19 2018 |
tree | 932e177902e0d03523847b7be73c4584dacc64f5 | |
parent | ebe7202e13db219b31600ba192d060fc7d19c3a2 [diff] |
Fix memory leak in extensions::api::SerialGetDevicesFunction This change resets the SerialDeviceEnumeratorPtr held by this class after enumeration is complete. This breaks the reference cycle between these two objects, allowing them both to be freed. Bug: 898177 Change-Id: I874c62f89f8bb59a2c41f8c40afd537404f4580b Reviewed-on: https://chromium-review.googlesource.com/c/1311533 Reviewed-by: Ken Rockot <[email protected]> Commit-Queue: Reilly Grant <[email protected]> Cr-Commit-Position: refs/heads/master@{#604415}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .