Closed jmillan closed 4 months ago
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.
MEDIASOUP_BUILDTYPE=Debug make test-asan-address
std::unique_ptr
I'm merging this.
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 usestd::unique_ptr
everywhere rather than raw pointers.