mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 12:25:37 +00:00
caps: Use correct size for caps allocation
This commit is contained in:
parent
b4066a6c95
commit
28f5b86637
1 changed files with 2 additions and 2 deletions
|
@ -214,9 +214,9 @@ gst_caps_new_empty (void)
|
|||
{
|
||||
GstCaps *caps;
|
||||
|
||||
caps = g_slice_new (GstCaps);
|
||||
caps = g_slice_new (GstCapsImpl);
|
||||
|
||||
gst_caps_init (caps, sizeof (GstCaps));
|
||||
gst_caps_init (caps, sizeof (GstCapsImpl));
|
||||
|
||||
#ifdef DEBUG_REFCOUNT
|
||||
GST_CAT_TRACE (GST_CAT_CAPS, "created caps %p", caps);
|
||||
|
|
Loading…
Reference in a new issue