From 5961f1d6cb0e3c66230b12d3833dfedf454dc938 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 26 Jan 2009 11:40:02 +0100 Subject: cleanup --- src/Stitch.cxx | 10 ++++------ src/choose_hill.cxx | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Stitch.cxx b/src/Stitch.cxx index a83e9c8..e69a28e 100644 --- a/src/Stitch.cxx +++ b/src/Stitch.cxx @@ -31,13 +31,11 @@ Stitch::Stitch() { } Stitch::~Stitch() { - for (int i=0; idata(); - delete(sc); + delete sc; return ret; } -- cgit v1.2.3