- Fix small memory leak in edns_opt_copy_alloc.
- Respip dereference after NULL check.
- Zero initialize addrtree allocation.
+ - Use correct identifier for SHM destroy.
7 April 2017: George
- Fix pythonmod for cb changes.
/* Destroy previous SHM */
if (daemon->shm_info->id_arr >= 0)
- shmctl(daemon->shm_info->id_ctl, IPC_RMID, NULL);
+ shmctl(daemon->shm_info->id_arr, IPC_RMID, NULL);
/* SHM: Create the segment */
daemon->shm_info->id_ctl = shmget(daemon->shm_info->key, sizeof(struct shm_stat_info), IPC_CREAT | 0666);