attempts to fix one small memleak in read_struct, but fail.... grrr where on earth this is supposed to be freed again ?