mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
clockentry: drop use of GSlice
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3695>
This commit is contained in:
parent
1c8bb3f8db
commit
384c4f1bef
1 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ gst_clock_entry_new (GstClock * clock, GstClockTime time,
|
|||
{
|
||||
GstClockEntry *entry;
|
||||
|
||||
entry = (GstClockEntry *) g_slice_new0 (GstClockEntryImpl);
|
||||
entry = (GstClockEntry *) g_new0 (GstClockEntryImpl, 1);
|
||||
|
||||
/* FIXME: add tracer hook for struct allocations such as clock entries */
|
||||
|
||||
|
@ -382,7 +382,7 @@ _gst_clock_id_free (GstClockID id)
|
|||
|
||||
/* FIXME: add tracer hook for struct allocations such as clock entries */
|
||||
|
||||
g_slice_free (GstClockEntryImpl, (GstClockEntryImpl *) id);
|
||||
g_free (id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue