ITS#10185 autogroup: plug memleak when deleting a group

This commit is contained in:
Howard Chu 2024-03-12 17:12:14 +00:00 committed by Quanah Gibson-Mount
parent 2e238855e8
commit bf24be37fe

View file

@ -934,7 +934,7 @@ autogroup_delete_group( autogroup_info_t *agi, autogroup_entry_t *e )
if ( age_prev != NULL ) {
age_prev->age_next = age_next;
} else {
agi->agi_entry = NULL;
agi->agi_entry = age_next;
}
ch_free( age->age_dn.bv_val );