mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
Fix some leaks.
This commit is contained in:
parent
7aef2834cf
commit
e92f06b126
1 changed files with 3 additions and 0 deletions
|
@ -119,6 +119,7 @@
|
||||||
(of-object "GstAdapter")
|
(of-object "GstAdapter")
|
||||||
(c-name "gst_adapter_take")
|
(c-name "gst_adapter_take")
|
||||||
(return-type "guint8*")
|
(return-type "guint8*")
|
||||||
|
(caller-owns-return #t)
|
||||||
(parameters
|
(parameters
|
||||||
'("guint" "nbytes")
|
'("guint" "nbytes")
|
||||||
)
|
)
|
||||||
|
@ -128,6 +129,7 @@
|
||||||
(of-object "GstAdapter")
|
(of-object "GstAdapter")
|
||||||
(c-name "gst_adapter_take_buffer")
|
(c-name "gst_adapter_take_buffer")
|
||||||
(return-type "GstBuffer*")
|
(return-type "GstBuffer*")
|
||||||
|
(caller-owns-return #t)
|
||||||
(parameters
|
(parameters
|
||||||
'("guint" "nbytes")
|
'("guint" "nbytes")
|
||||||
)
|
)
|
||||||
|
@ -904,6 +906,7 @@
|
||||||
(of-object "GstCollectPads")
|
(of-object "GstCollectPads")
|
||||||
(c-name "gst_collect_pads_take_buffer")
|
(c-name "gst_collect_pads_take_buffer")
|
||||||
(return-type "GstBuffer*")
|
(return-type "GstBuffer*")
|
||||||
|
(caller-owns-return #t)
|
||||||
(parameters
|
(parameters
|
||||||
'("GstCollectData*" "data")
|
'("GstCollectData*" "data")
|
||||||
'("guint" "size")
|
'("guint" "size")
|
||||||
|
|
Loading…
Reference in a new issue