Commit 4b3455b7 authored by Jan Schmidt's avatar Jan Schmidt

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.
parent 7386cce1
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:
......
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