Commit e92f06b1 authored by Edward Hervey's avatar Edward Hervey 🤘

Fix some leaks.

parent 7aef2834
......@@ -119,6 +119,7 @@
(of-object "GstAdapter")
(c-name "gst_adapter_take")
(return-type "guint8*")
(caller-owns-return #t)
(parameters
'("guint" "nbytes")
)
......@@ -128,6 +129,7 @@
(of-object "GstAdapter")
(c-name "gst_adapter_take_buffer")
(return-type "GstBuffer*")
(caller-owns-return #t)
(parameters
'("guint" "nbytes")
)
......@@ -904,6 +906,7 @@
(of-object "GstCollectPads")
(c-name "gst_collect_pads_take_buffer")
(return-type "GstBuffer*")
(caller-owns-return #t)
(parameters
'("GstCollectData*" "data")
'("guint" "size")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment