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:
Peter Kjellerstedt 2008-05-09 07:41:58 +00:00 committed by Tim-Philipp Müller
parent bddddbd409
commit b1ef03968a

View file

@ -197,6 +197,8 @@ rtp_source_finalize (GObject * object)
g_free (src->bye_reason); g_free (src->bye_reason);
gst_caps_replace (&src->caps, NULL);
G_OBJECT_CLASS (rtp_source_parent_class)->finalize (object); G_OBJECT_CLASS (rtp_source_parent_class)->finalize (object);
} }