Thanks, it makes sense now: Don't rely on CRTL functions or structures like malloc/free or fopen/fclose or FILE to be compatible across CRTL versions unless you know all versions that would ever be used are guaranteed to be compatible, and don't assume implicitly global values (like environment variables on Windows) to be actually global across DLL's. I would think using delete for a malloc'ed buffer would fall under the rule: Apart from oversights, don't make stupid mistakes as well.
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
