Skip to content

Wrapped pointers don't get cleaned up in some cases #28

@turboladen

Description

When, say, a OGR::Point (that wraps a FFI::Pointer in @c_pointer) is garbage collected, that FFI::Pointer needs to be released using OGR_G_DestroyGeometry().

We can do this using an FFI::AutoPointer and an RBS interface of HasAutoPointer[P].


Originally posted by Steve Loveless (@turboladen) in #27 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions