mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
jpegformat: drop use of GSlice
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3695>
This commit is contained in:
parent
b424fa6a6e
commit
4c4245d6a8
1 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ gst_jif_mux_marker_free (GstJifMuxMarker * m)
|
|||
if (m->owned)
|
||||
g_free ((gpointer) m->data);
|
||||
|
||||
g_slice_free (GstJifMuxMarker, m);
|
||||
g_free (m);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -246,7 +246,7 @@ static GstJifMuxMarker *
|
|||
gst_jif_mux_new_marker (guint8 marker, guint16 size, const guint8 * data,
|
||||
gboolean owned)
|
||||
{
|
||||
GstJifMuxMarker *m = g_slice_new (GstJifMuxMarker);
|
||||
GstJifMuxMarker *m = g_new (GstJifMuxMarker, 1);
|
||||
|
||||
m->marker = marker;
|
||||
m->size = size;
|
||||
|
|
Loading…
Reference in a new issue