[opengtl-commits] [156] don't attempt to delete uninitialised pointers |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 156
Author: cyrille
Date: 2008-04-29 13:26:36 +0200 (Tue, 29 Apr 2008)
Log Message:
-----------
don't attempt to delete uninitialised pointers
Modified Paths:
--------------
trunk/OpenGTL/OpenGTL/GTLCore/VariableNG_p.cpp
Modified: trunk/OpenGTL/OpenGTL/GTLCore/VariableNG_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/VariableNG_p.cpp 2008-04-29 11:14:50 UTC (rev 155)
+++ trunk/OpenGTL/OpenGTL/GTLCore/VariableNG_p.cpp 2008-04-29 11:26:36 UTC (rev 156)
@@ -45,6 +45,8 @@
d->type = _type;
d->constant = _constant;
d->isInitialised = false;
+ d->accessor = 0;
+ d->pointer = 0;
}
VariableNG::~VariableNG()
{