Bug 979993 - Free the old input data in SetValueInternal. r=bz