Fixes of some memory leaks
This commit is contained in:
@@ -79,9 +79,7 @@ void CvFuzzyCurve::clear()
|
||||
|
||||
void CvFuzzyCurve::addPoint(double x, double y)
|
||||
{
|
||||
CvFuzzyPoint *point;
|
||||
point = new CvFuzzyPoint(x, y);
|
||||
points.push_back(*point);
|
||||
points.push_back(CvFuzzyPoint(x, y));
|
||||
};
|
||||
|
||||
double CvFuzzyCurve::calcValue(double param)
|
||||
|
||||
Reference in New Issue
Block a user