From 74e103e53f102cfc1a74288ee09eb2ff754ed6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 8 Jan 2023 17:36:33 +0000 Subject: [PATCH] xingmux: drop use of GSlice Part-of: --- subprojects/gst-plugins-good/gst/xingmux/gstxingmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-good/gst/xingmux/gstxingmux.c b/subprojects/gst-plugins-good/gst/xingmux/gstxingmux.c index 33087ccd69..5b24396b6e 100644 --- a/subprojects/gst-plugins-good/gst/xingmux/gstxingmux.c +++ b/subprojects/gst-plugins-good/gst/xingmux/gstxingmux.c @@ -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);