From 384c4f1bef6890400ae551e43d03e3d569450677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 8 Jan 2023 00:48:46 +0000 Subject: [PATCH] clockentry: drop use of GSlice Part-of: --- subprojects/gstreamer/gst/gstclock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gstreamer/gst/gstclock.c b/subprojects/gstreamer/gst/gstclock.c index 365a0e1d79..ff3e2bac73 100644 --- a/subprojects/gstreamer/gst/gstclock.c +++ b/subprojects/gstreamer/gst/gstclock.c @@ -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); } /**