Endiansolve

Solved memory leak
more granular reporting
added comment for additional memory leak
sending size in an endian-neutral way