Allocate enough memory for Value (problem was spotted by Pigglesworth)