]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/UIUCModel/uiuc_1DdataFileReader.cpp
YASim performance optimization
[flightgear.git] / src / FDM / UIUCModel / uiuc_1DdataFileReader.cpp
index f4c41e5b0239d5e16ffc14834c65ceec8e0ff687..7b91c9a2e352302b7074d46e61f5a136377e37ea 100644 (file)
@@ -68,8 +68,7 @@
 
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
- USA or view http://www.gnu.org/copyleft/gpl.html.
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 **********************************************************************/
 
@@ -115,6 +114,7 @@ uiuc_1DdataFileReader( string file_name,
       //};
       data = 1;
     }
+  delete matrix;
   return data;
 }
 
@@ -154,6 +154,7 @@ uiuc_1DdataFileReader( string file_name,
       counter++;
       data = 1;
     }
+  delete matrix;
   return data;
 }