Move alloc/free out of parallel region in putty format