Commit 39941c63 authored by Ronan's avatar Ronan

fix(call-op): destroy correctly leaked sdp

parent b780503d
......@@ -49,6 +49,7 @@ int SalCallOp::setLocalMediaDescription (SalMediaDescription *desc) {
belle_sip_error_code error;
belle_sdp_session_description_t *sdp = media_description_to_sdp(desc);
vector<char> buffer = marshalMediaDescription(sdp, error);
belle_sip_object_unref(sdp);
if (error != BELLE_SIP_OK)
return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment