Index: attrib.c =================================================================== --- attrib.c (revision 27961) +++ attrib.c (revision 27962) @@ -115,8 +115,11 @@ { int i; + /* first notify for all removals while the values are still available */ + for (i = 0; i < list->Number; i++) + NOTIFY(list, list->List[i].name, NULL); + for (i = 0; i < list->Number; i++) { - NOTIFY(list, list->List[i].name, list->List[i].value); free(list->List[i].name); free(list->List[i].value); }