Source of myLeakyFunction.cpp


  1: //  Created by Frank M. Carrano and Tim Henry.
  2: //  Copyright (c) 2013 __Pearson Education__. All rights reserved.

  4: void myLeakyFunction(const double& someItem)
  5: {
  6:    ToyBox<double>* someBoxPtr = new ToyBox<double>();
  7:    someBoxPtr->setItem(someItem);
  8: }  // end myLeakyFunction