DescriptionFixing memory leak of generated session descriptions on Android.
SessionDescriptionObserver::OnSuccess takes ownership of the
description, but it doesn't use a unique_ptr, so the JNI code was
neglecting to delete it.
BUG=webrtc:7680
Review-Url: https://codereview.webrtc.org/2886263003
Cr-Commit-Position: refs/heads/master@{#18200}
Committed: https://chromium.googlesource.com/external/webrtc/+/119c40784872c2d8ac78469bfa39044b9c4a5502
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|