--- parser3/src/include/pa_array.h 2009/04/17 09:55:21 1.71 +++ parser3/src/include/pa_array.h 2009/04/17 13:13:09 1.72 @@ -8,7 +8,7 @@ #ifndef PA_ARRAY_H #define PA_ARRAY_H -static const char * const IDENT_ARRAY_Y="$Date: 2009/04/17 09:55:21 $"; +static const char * const IDENT_ARRAY_Y="$Date: 2009/04/17 13:13:09 $"; // includes @@ -83,6 +83,10 @@ public: felements=fallocated?static_cast(malloc(fallocated*sizeof(T))):0; } + ~Array(){ + free(felements); + } + /// how many items are in Array inline size_t count() const { return fused; } /// append to array