Skip to content
  • Lubos SLovak's avatar
    3293692d
    Fixed crash on double free when exiting. · 3293692d
    Lubos SLovak authored
    The key of hash table item was deallocated twice - once as the key
      and once in the zone node (the value). Fixed by adding parameters
      to ck_destroy_table() and ck_remove_item() which tells if the
      key and value should be deallocated (in case of value a pointer
      to destructor is passed).
    
    Changes to other files to acommodate this change.
    3293692d
    Fixed crash on double free when exiting.
    Lubos SLovak authored
    The key of hash table item was deallocated twice - once as the key
      and once in the zone node (the value). Fixed by adding parameters
      to ck_destroy_table() and ck_remove_item() which tells if the
      key and value should be deallocated (in case of value a pointer
      to destructor is passed).
    
    Changes to other files to acommodate this change.
Loading