--- parser3/src/include/pa_hash.h 2009/04/15 07:46:43 1.70 +++ parser3/src/include/pa_hash.h 2009/04/17 13:13:09 1.71 @@ -17,7 +17,7 @@ #ifndef PA_HASH_H #define PA_HASH_H -static const char * const IDENT_HASH_H="$Date: 2009/04/15 07:46:43 $"; +static const char * const IDENT_HASH_H="$Date: 2009/04/17 13:13:09 $"; #include "pa_memory.h" #include "pa_types.h" @@ -114,6 +114,10 @@ public: } } + ~Hash() { + delete[] refs; + } + /// put a [value] under the [key] @returns existed or not bool put(K key, V value) { if(!value) {