diff options
author | raphael.kubo.da.costa <raphael.kubo.da.costa@intel.com> | 2015-01-12 00:55:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-12 08:56:02 +0000 |
commit | b869324dc138551f3eb7066c24735e583e9e04ad (patch) | |
tree | 9a99acbe5db6b516ec41f89bc0d7cb2c0b87b967 /.gitignore | |
parent | 680a4d6b337e0234c70cad2ed8056beaac7a5b6b (diff) | |
download | chromium_src-b869324dc138551f3eb7066c24735e583e9e04ad.zip chromium_src-b869324dc138551f3eb7066c24735e583e9e04ad.tar.gz chromium_src-b869324dc138551f3eb7066c24735e583e9e04ad.tar.bz2 |
VideoCaptureDeviceFactoryAndroid: Stop leaking |video_capture_device|.
When the call to VideoCaptureDeviceAndroid::Init(), we were leaking the
VideoCaptureDeviceAndroid object we had created. Stop leaking it by
making it a scoped_ptr instead of only returning one in the success
case.
R=mcasas@chromium.org, perkj@chromium.org
Review URL: https://codereview.chromium.org/834863003
Cr-Commit-Position: refs/heads/master@{#311025}
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions