commit | 1f1abd1dccb886cdfe9a7bed70069176d97c2ae1 | [log] [tgz] |
---|---|---|
author | Mirko Bonadei <mbonadei@webrtc.org> | Wed May 11 17:18:36 2022 +0200 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 12 09:58:21 2022 +0000 |
tree | 72f55ded16262b8b04a4de62ddc3d91a3bce022c | |
parent | 810057cf966439c90bbe39011a3a6dd0dcb152be [diff] |
Fix observer ref counting. By calling release() the ref counter is not decremented and when the observer is later wrapped in a scoped_refprt its counter will be 2 instead of 1, leading to a memory leak. Bug: b/231912631 Change-Id: I466e5c29ba4f4aee43e8cf23f2e04fa4b6351b4c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261954 Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36862}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.