fix CommodityCurve::dates_ and CommodityCurve::data_ leak 

each time you call CommodityCurve::setPrices()