diff options
Diffstat (limited to '')
-rw-r--r-- | src/hash.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1115,7 +1115,8 @@ namespace Bu | |||
1115 | // Delete all of the old data | 1115 | // Delete all of the old data |
1116 | for( uint32_t j = 0; j < nOldCapacity; j++ ) | 1116 | for( uint32_t j = 0; j < nOldCapacity; j++ ) |
1117 | { | 1117 | { |
1118 | if( (bOldFilled[j/32]&(1<<(j%32)))!=0 ) | 1118 | if( (bOldFilled[j/32]&(1<<(j%32)))!=0 && |
1119 | (bOldDeleted[j/32]&(1<<(j%32)))==0 ) | ||
1119 | { | 1120 | { |
1120 | va.destroy( &aOldValues[j] ); | 1121 | va.destroy( &aOldValues[j] ); |
1121 | ka.destroy( &aOldKeys[j] ); | 1122 | ka.destroy( &aOldKeys[j] ); |