diff options
Diffstat (limited to 'src/hash.h')
| -rw-r--r-- | src/hash.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -641,7 +641,8 @@ protected: | |||
| 641 | // Delete all of the old data | 641 | // Delete all of the old data |
| 642 | for( uint32_t j = 0; j < nOldCapacity; j++ ) | 642 | for( uint32_t j = 0; j < nOldCapacity; j++ ) |
| 643 | { | 643 | { |
| 644 | if( (bOldFilled[j/32]&(1<<(j%32)))!=0 ) | 644 | if( (bOldFilled[j/32]&(1<<(j%32)))!=0 && |
| 645 | (bOldDeleted[j/32]&(1<<(j%32)))==0 ) | ||
| 645 | { | 646 | { |
| 646 | va.destroy( &aOldValues[j] ); | 647 | va.destroy( &aOldValues[j] ); |
| 647 | ka.destroy( &aOldKeys[j] ); | 648 | ka.destroy( &aOldKeys[j] ); |
