[vlc-devel] [vlc-commits] Remove libvlc_free

Rémi Denis-Courmont remi at remlab.net
Thu May 23 16:57:35 CEST 2019


Le keskiviikkona 22. toukokuuta 2019, 20.24.29 EEST Romain Vimont a écrit :
> >UB can occur if there are more than one C run-time in a process though,
> >or if you use LibVLC on a non-C/C++ thread.
> 
> Why is it related to libvlc_free()?

Depending, libvlc_free() is either UB or redundant. It's useless.

> What happens if you call free() from another existing libvlc function?

It's UB all the same.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list