comparison PrivateHash.c @ 21:4b5abed39ab9

changed names in comments, to avoid repeats during global replace
author Some Random Person <seanhalle@yahoo.com>
date Fri, 09 Mar 2012 22:17:44 -0800
parents 774396bc53b4
children ac99f4a8ce22
comparison
equal deleted inserted replaced
11:078a29c98873 12:8a0db7afdd70
227 void 227 void
228 freeHashEntryUsing( HashEntry *entry, HashTable *table ) 228 freeHashEntryUsing( HashEntry *entry, HashTable *table )
229 { 229 {
230 if( entry->content != NULL ) 230 if( entry->content != NULL )
231 (*(table->freeEntryContentFn))( entry->content ); 231 (*(table->freeEntryContentFn))( entry->content );
232 VMS_int__free( entry->key ); //was VMS__malloc'd above, so free it 232 VMS_int__free( entry->key ); //was VMS_int__malloc'd above, so free it
233 VMS_int__free( entry ); 233 VMS_int__free( entry );
234 } 234 }
235 235
236 void 236 void
237 freeHashEntryButNotContent( HashEntry *entry ) 237 freeHashEntryButNotContent( HashEntry *entry )
238 { 238 {
239 VMS_int__free( entry->key ); //was VMS__malloc'd above, so free it 239 VMS_int__free( entry->key ); //was VMS_int__malloc'd above, so free it
240 VMS_int__free( entry ); 240 VMS_int__free( entry );
241 } 241 }
242 242