mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
sdp: Fix leaking of SDPMedia in the adder of SDPMessage
This commit is contained in:
parent
0dcaa072a1
commit
43a7eb8642
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ impl SDPMessageRef {
|
||||||
unsafe {
|
unsafe {
|
||||||
ffi::gst_sdp_message_add_media(
|
ffi::gst_sdp_message_add_media(
|
||||||
&mut self.0,
|
&mut self.0,
|
||||||
media.to_glib_full() as *mut ffi::GstSDPMedia,
|
media.to_glib_none().0 as *mut ffi::GstSDPMedia,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue