Skip to content

sctp: Fix crash on free() when using the MSVC binaries

On Windows, if libusrsctp and gstreamer are built with different C runtimes (CRT), we cannot free memory allocated inside libusrsctp with the free() function from gstreamer's CRT.

usrsctp_freedumpbuffer() simply calls free(), but because of the way DLLs work on Windows, it will always call the free function from the correct CRT.

Merge request reports

Loading