mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
libs: insertbin: drop use of GSlice allocator
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3695>
This commit is contained in:
parent
92f0f48472
commit
e6da8deb8e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue