On Mon, 2022-01-31 at 17:59 +0100, Andreas Brzesowsky wrote: > +#ifdef _WIN32 > + // In Windows the libidn.dll could use an other heap and then > the normal free will crash. > + idn_free(password_sasl); > +#else
Hi, would it make sense to always call the right function, not only sometimes? If the two can differ, no matter if only sometimes or always, then I'd say it's better to always use the right function. Pity the stringprep_profile() man page does not specify what function should be used to free the output buffer. It seems the idn_free() calls just free() on Linux, thus it might be possible to use that function unconditionally. Bye, zyx _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users