changed src\modules\audio_device\win\audio_device_core_win.cc , and it is working

Bug: webrtc:12384
Change-Id: Ie9fddc3fa8016eb6a0bcc4c6757f30c4b087c10a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203821
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33158}
This commit is contained in:
Berthold Herrmann 2021-02-04 09:33:19 +01:00 committed by Commit Bot
parent c1e7878c76
commit 426b6e49de
2 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ Andrey Efremov <yoklmnprst@ya.ru>
Andrew Johnson <ajohnson@draster.com> Andrew Johnson <ajohnson@draster.com>
Anil Kumar <an1kumar@gmail.com> Anil Kumar <an1kumar@gmail.com>
Ben Strong <bstrong@gmail.com> Ben Strong <bstrong@gmail.com>
Berthold Herrmann <bertholdherrmann08@googlemail.com>
Bob Withers <bwit@pobox.com> Bob Withers <bwit@pobox.com>
Bridger Maxwell <bridgeyman@gmail.com> Bridger Maxwell <bridgeyman@gmail.com>
Christophe Dumez <ch.dumez@samsung.com> Christophe Dumez <ch.dumez@samsung.com>

View File

@ -3938,6 +3938,8 @@ int32_t AudioDeviceWindowsCore::_GetListDevice(EDataFlow dir,
return -1; return -1;
} }
SAFE_RELEASE(pCollection);
return 0; return 0;
} }