Freeing local buffer used in binary/form