Multiply does not free some memory

Coordinator
Apr 16, 2011 at 5:10 PM

int BigFloat::multiply(class BigFloat * a, class BigFloat * b)
{
 BigFloat* sum;
 sum = new BigFloat(0.0);
 BigFloat* copy;
 copy = new BigFloat(0.0);

 if(a->is_zero() || b->is_zero())
 {
  set_with_double(0.0);

  delete sum;   // THIS SHOULD BE ADDED TO BIGFLOAT.CPP  LINE 272
  delete copy;  // THIS SHOULD BE ADDED TO BIGFLOAT.CPP

  return 0;
 }