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

Denis Charmet typx at dinauz.org
Mon May 27 16:31:11 CEST 2019


On 2019-05-22 11:06, Steve Lhomme wrote:
> (https://docs.microsoft.com/en-us/cpp/c-runtime-library/potential-errors-passing-crt-objects-across-dll-boundaries?view=vs-2019)

Unless I read it wrong, this doc seems indeed to imply that if you free 
from a DLL what you allocated inside this DLL, it should work (at least 
for windows). Besides if we have to deal with undefined behaviours then 
we need more checks rather than less functions.

So, right now I'm more for keeping it at least until we have a way to 
prevent undefined behaviour.

Regards,
-- 
Denis Charmet - TypX
Le mauvais esprit est un art de vivre


More information about the vlc-devel mailing list