mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 11:35:32 +00:00
sip: origin: Fix memory leak
This commit is contained in:
parent
24040c2122
commit
400281c07e
2 changed files with 2 additions and 2 deletions
|
@ -462,5 +462,5 @@ calls_sip_call_set_codecs (CallsSipCall *self,
|
|||
g_return_if_fail (codecs);
|
||||
|
||||
g_list_free (self->codecs);
|
||||
self->codecs = codecs;
|
||||
self->codecs = g_list_copy (codecs);
|
||||
}
|
||||
|
|
|
@ -518,7 +518,7 @@ sip_i_state (int status,
|
|||
* also: rtcp port = rtp port + 1
|
||||
*/
|
||||
if (r_sdp) {
|
||||
GList *codecs =
|
||||
g_autoptr (GList) codecs =
|
||||
calls_sip_media_manager_get_codecs_from_sdp (origin->media_manager,
|
||||
r_sdp->sdp_media);
|
||||
|
||||
|
|
Loading…
Reference in a new issue