DescriptionFix memory leak in vcm_capturer.cc.
vcm_->Release won't delete vcm_ automatically since the refcount of vcm_ will be
-1 after Release call.
vcm_->AddRef() should be called after vcm_ creation.
BUG=webrtc:5229
Patch Set 1 #
Total comments: 1
Patch Set 2 : modify ref_count.h, init ref_count to 1 after new #
Messages
Total messages: 13 (6 generated)
|