matrix-org / matrix-org/matrix-rust-sdk

Missing memory managment calls (destroy) on FFI objec?t

Open
#4,156 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

Looks like we have to manually release some FFIObjects

![Image](https://user-images.githubusercontent.com/9841565/219634484-001f3b03-63f1-4a74-b0a4-54df3c973ff9.png)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files, tests, or entry points. Start by tracing FFIObject allocation and manual release paths in the SDK, using the attached image as context. Done means the affected FFI objects have appropriate destruction calls and the lifecycle can be verified without leaks.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.