Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestRtpStreamSend: ASAN, fix memory leaks #1420

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

jmillan
Copy link
Member

@jmillan jmillan commented Jul 1, 2024

Use std::unique_pointer rather than raw pointers

By running MEDIASOUP_BUILDTYPE=Debug make test-asan-address most or all issues are related to not properly freeing instances in tests, so let's use std::unique_ptr everywhere rather than raw pointers.

Use std::unique_pointer rather than raw pointers
@jmillan jmillan requested a review from ibc July 1, 2024 15:54
@ibc
Copy link
Member

ibc commented Jul 1, 2024

I'm merging this.

@ibc ibc merged commit 9d9e358 into v3 Jul 1, 2024
41 checks passed
@ibc ibc deleted the testrtpstreamsend_fix_memory_leaks branch July 1, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants