A crash issue related to webrtcbin is fixed.
Change-Id: Ie91cad999bb7ec1168c98cb7f5179d81e23c60ec
GstWebRTCICEGatheringState old_state = webrtc->ice_gathering_state;
if (state != webrtc->ice_gathering_state) {
- gchar *old_s, *new_s;
+ const gchar *old_s, *new_s;
old_s = _enum_value_to_string (GST_TYPE_WEBRTC_ICE_GATHERING_STATE,
old_state);
state);
GST_INFO_OBJECT (webrtc, "ICE gathering state change from %s(%u) to %s(%u)",
old_s, old_state, new_s, state);
- g_free (old_s);
- g_free (new_s);
webrtc->ice_gathering_state = state;
PC_UNLOCK (webrtc);