mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-08 17:30:56 +08:00
fix memory leak
This commit is contained in:
@@ -32,7 +32,7 @@ func NewInterpolationControlSource() *InterpolationControlSource {
|
||||
cCs := C.gst_interpolation_control_source_new()
|
||||
|
||||
return &InterpolationControlSource{
|
||||
Object: wrapObject(glib.TransferNone(unsafe.Pointer(cCs))),
|
||||
Object: wrapObject(glib.TransferFull(unsafe.Pointer(cCs))),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user