Skip to content

[FEA] Prevent memory leak during the development #38

Open

Description

Is your feature request related to a problem? Please describe.

Since the project doesn't have a mechanism for preventing memory leaks, there are high chances to introduce memory leaks during the development.

Describe the solution you'd like

  • Make use of a safe pointer (smart pointer) or scoped deleter for 3rdparty library/internal memory allocation.
  • Run unit/integration tests with memory sanitizer/tracker (e.g., valgrind/asan)

Additional context

There are many cases that we introduced memory leak problems.

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

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions