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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions