mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
gst/gstbin.c: Don't leak clock messages.
Original commit message from CVS: * gst/gstbin.c: (gst_bin_handle_message_func): Don't leak clock messages.
This commit is contained in:
parent
7386cce105
commit
4b3455b7a8
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/gstbin.c: (gst_bin_handle_message_func):
|
||||
Don't leak clock messages.
|
||||
|
||||
2005-11-25 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstutils.c: (gst_util_uint64_scale_int64),
|
||||
|
|
|
@ -1999,6 +1999,9 @@ gst_bin_handle_message_func (GstBin * bin, GstMessage * message)
|
|||
if (forward) {
|
||||
goto forward;
|
||||
}
|
||||
/* free message */
|
||||
gst_message_unref (message);
|
||||
|
||||
break;
|
||||
}
|
||||
case GST_MESSAGE_CLOCK_PROVIDE:
|
||||
|
@ -2014,6 +2017,9 @@ gst_bin_handle_message_func (GstBin * bin, GstMessage * message)
|
|||
|
||||
if (forward)
|
||||
goto forward;
|
||||
/* free message */
|
||||
gst_message_unref (message);
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue