mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
Merge "res_pjsip_session: Fix format_cap leak."
This commit is contained in:
@@ -1547,6 +1547,7 @@ int ast_sip_session_refresh(struct ast_sip_session *session,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ast_stream_set_formats(stream, joint_cap);
|
ast_stream_set_formats(stream, joint_cap);
|
||||||
|
ao2_cleanup(joint_cap);
|
||||||
}
|
}
|
||||||
|
|
||||||
++type_streams[ast_stream_get_type(stream)];
|
++type_streams[ast_stream_get_type(stream)];
|
||||||
|
|||||||
Reference in New Issue
Block a user