Commit 412ce0dd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Memory leak

parent 3226e6a6
...@@ -1425,6 +1425,7 @@ static void FreeSDP( sdp_t *p_sdp ) ...@@ -1425,6 +1425,7 @@ static void FreeSDP( sdp_t *p_sdp )
free (p_sdp->mediav[j].fmt); free (p_sdp->mediav[j].fmt);
for (int i = 0; i < p_sdp->mediav[j].i_attributes; i++) for (int i = 0; i < p_sdp->mediav[j].i_attributes; i++)
FreeAttribute (p_sdp->mediav[j].pp_attributes[i]); FreeAttribute (p_sdp->mediav[j].pp_attributes[i]);
free (p_sdp->mediav[j].pp_attributes);
} }
free (p_sdp->mediav); free (p_sdp->mediav);
......
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