mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gst/rtpmanager/rtpsource.c: Make sure to unref the caps used by RTPSource to prevent a memory leak.
Original commit message from CVS: * gst/rtpmanager/rtpsource.c: (rtp_source_finalize): Make sure to unref the caps used by RTPSource to prevent a memory leak.
This commit is contained in:
parent
bddddbd409
commit
b1ef03968a
1 changed files with 2 additions and 0 deletions
|
@ -197,6 +197,8 @@ rtp_source_finalize (GObject * object)
|
|||
|
||||
g_free (src->bye_reason);
|
||||
|
||||
gst_caps_replace (&src->caps, NULL);
|
||||
|
||||
G_OBJECT_CLASS (rtp_source_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue