From ee84e766416cc16d5b5122d57df2c6235c1eebeb Mon Sep 17 00:00:00 2001 From: mselig Date: Tue, 10 Jun 2003 06:19:31 +0000 Subject: [PATCH] Fixes some weirdness that Fred reported. Used his patch with one mod. --- src/FDM/UIUCModel/uiuc_flapdata.cpp | 43 +++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/src/FDM/UIUCModel/uiuc_flapdata.cpp b/src/FDM/UIUCModel/uiuc_flapdata.cpp index 139887193..1318b6b6d 100644 --- a/src/FDM/UIUCModel/uiuc_flapdata.cpp +++ b/src/FDM/UIUCModel/uiuc_flapdata.cpp @@ -92,14 +92,33 @@ FlapData::FlapData(const char* filename){ //Frees all memory associated with this object FlapData::~FlapData(){ // printf("deleting flapdata\n"); - delete liftTable; - delete thrustTable; - delete momentTable; - delete inertiaTable; - delete alphaArray; - delete speedArray; - delete freqArray; - delete phiArray; + int i, j, k; + for(i=0;i