diff --git a/daemon/codec.c b/daemon/codec.c index 6f4e2e433..33d86ec84 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -3308,7 +3308,7 @@ static void __rtp_payload_type_dup(struct call *call, struct rtp_payload_type *p call_str_cpy(call, &pt->codec_opts, &pt->codec_opts); for (GList *l = pt->rtcp_fb.head; l; l = l->next) { str *fb = l->data; - call_str_cpy(call, fb, fb); + l->data = call_str_dup(call, fb); } } static struct rtp_payload_type *__rtp_payload_type_copy(const struct rtp_payload_type *pt) {