Joachim Bauch fec2c6d7eb Prevent potential double-free if srtp_create fails.
If srtp_create fails while adding streams, it deallocates the session
but doesn't clear the passed pointer which then could lead to a
double-free in the SrtpSession dtor.

The CL also adds locking for libsrtp initialization / shutdown.

BUG=4042
R=jiayl@webrtc.org, juberti@google.com, pthatcher@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/47319004

Cr-Commit-Position: refs/heads/master@{#9300}
2015-05-27 21:41:52 +00:00
2015-05-21 11:25:15 +00:00
2015-05-20 16:04:22 +00:00
2015-03-06 08:03:47 +00:00
2014-06-17 08:54:03 +00:00
2015-05-12 14:51:08 +00:00
Description
The idea is to make CMake build for WebRTC m130 version - for audio processing module
BSD-3-Clause 446 MiB
Languages
C++ 90.3%
Java 2.9%
C 2.2%
Objective-C++ 2%
Python 1.3%
Other 1%