Delete memory allocated by GetStreamCaps
Bug: webrtc:13260 Change-Id: I18c23e2c3aad7c711c33c8cc381d46275473b4a0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/237344 Reviewed-by: Per Kjellander <perkj@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35369}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
9ebe6d7c88
commit
4de99443dd
@ -389,6 +389,9 @@ int32_t DeviceInfoDS::CreateCapabilityMap(const char* deviceUniqueIdUTF8)
|
||||
RTC_LOG(LS_INFO) << "Device support FORMAT_VideoInfo2";
|
||||
supportFORMAT_VideoInfo = true;
|
||||
}
|
||||
|
||||
FreeMediaType(pmt);
|
||||
pmt = NULL;
|
||||
}
|
||||
}
|
||||
if (supportFORMAT_VideoInfo2) {
|
||||
|
||||
Reference in New Issue
Block a user