From e6da8deb8ed74a4f6c5984a6616f2ef5e7e15ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 8 Jan 2023 17:58:38 +0000 Subject: [PATCH] libs: insertbin: drop use of GSlice allocator Part-of: --- .../gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c b/subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c index 6e79dff278..e3a81f6efe 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/insertbin/gstinsertbin.c @@ -252,7 +252,7 @@ change_data_free (struct ChangeData *data) gst_object_unref (data->element); if (data->sibling) gst_object_unref (data->sibling); - g_slice_free (struct ChangeData, data); + g_free (data); } @@ -794,7 +794,7 @@ gst_insert_bin_add_operation (GstInsertBin * self, GstInsertBinDirection direction, GstInsertBinCallback callback, gpointer user_data) { - struct ChangeData *data = g_slice_new (struct ChangeData); + struct ChangeData *data = g_new (struct ChangeData, 1); gboolean block_pad; data->element = element;