webrtcendpoint: check memory leak in SDP negotiation

Change-Id: I5db577e7c424a38035b6782f606dc84b7cc4f580