Skip to content
This repository was archived by the owner on Jul 11, 2019. It is now read-only.
This repository was archived by the owner on Jul 11, 2019. It is now read-only.

Releasing/Deallocating pointers #9

@skiwi2

Description

@skiwi2

In your examples I often see things like:

Tesseract.TessBaseAPIInit2(handle,
    Pointer.pointerToCString("E:\\Masterarbeit\\Ressourcen\\tessdata"),
    Pointer.pointerToCString("deu-frak"), OCREngineMode.DEFAULT);

I am currently investigating a memory leak in my application, and therefore I am wondering, should we not clean up those Pointer<Byte> that the Pointer.pointerToCString() makes, via Pointer#release?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions