Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Issue 2886263003: Fixing memory leak of generated session descriptions on Android. (Closed)

Created:
3 years, 7 months ago by Taylor Brandstetter
Modified:
3 years, 7 months ago
Reviewers:
sakal
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixing 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M webrtc/sdk/android/src/jni/peerconnection_jni.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
Taylor Brandstetter
PTAL
3 years, 7 months ago (2017-05-17 22:25:52 UTC) #2
sakal
Did this cause any practical problems? If so, I think we should create a bug ...
3 years, 7 months ago (2017-05-18 12:37:08 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2886263003/1
3 years, 7 months ago (2017-05-18 15:29:49 UTC) #6
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 15:46:04 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/119c40784872c2d8ac78469bf...

Powered by Google App Engine
This is Rietveld 408576698