From 6e846b809b949591a880fb41fb4d8c34e7ce2487 Mon Sep 17 00:00:00 2001 From: vbd Date: Thu, 8 Nov 2007 15:34:57 +0000 Subject: [PATCH] adding field ownership --- src/ParaMEDMEM/ICoCoTrioField.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParaMEDMEM/ICoCoTrioField.hxx b/src/ParaMEDMEM/ICoCoTrioField.hxx index 167a2e9fe..d0ae83021 100644 --- a/src/ParaMEDMEM/ICoCoTrioField.hxx +++ b/src/ParaMEDMEM/ICoCoTrioField.hxx @@ -19,7 +19,7 @@ namespace ICoCo { public: - TrioField() {_connectivity=0;_coords=0;_field=0;} + TrioField() {_connectivity=0;_coords=0;_field=0;_has_field_ownership=false;} ~TrioField() {delete[] _connectivity; delete[] _coords; if (_has_field_ownership) delete[] _field;}; public: -- 2.39.2