xingmux: drop use of GSlice

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3695>
This commit is contained in:
Tim-Philipp Müller 2023-01-08 17:36:33 +00:00 committed by GStreamer Marge Bot
parent fc82621e09
commit 74e103e53f

View file

@ -70,13 +70,13 @@ typedef struct _GstXingSeekEntry
static inline GstXingSeekEntry *
gst_xing_seek_entry_new (void)
{
return g_slice_new (GstXingSeekEntry);
return g_new (GstXingSeekEntry, 1);
}
static inline void
gst_xing_seek_entry_free (GstXingSeekEntry * entry)
{
g_slice_free (GstXingSeekEntry, entry);
g_free (entry);
}
static void gst_xing_mux_finalize (GObject * obj);