Changeset 252 for trunk/lib/lru_cache.c


Ignore:
Timestamp:
05/08/11 13:33:49 (13 years ago)
Author:
tim
Message:

updated pyregfi to work with regfi changes
renamed some functions for more clarity
fixed some issues related to talloc_reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/lru_cache.c

    r250 r252  
    260260    ht->table[hash] = e;
    261261  }
     262  if(ht->talloc_data)
     263    data = talloc_reference(e, data);
    262264  e->data = data;
    263   if(ht->talloc_data)
    264     talloc_reference(e, e->data);
    265265
    266266  /* Finally, let's insert the element to the newest position in the LRU list.*/
Note: See TracChangeset for help on using the changeset viewer.