|
@@ -268,7 +268,7 @@ notifier_domain_t *create_notifier_domain(reference_counter_group_t *g, const st
|
|
void destroy_notifier_domain(notifier_domain_t *domain)
|
|
void destroy_notifier_domain(notifier_domain_t *domain)
|
|
{
|
|
{
|
|
notifier_package_t *p, *n;
|
|
notifier_package_t *p, *n;
|
|
- qsa_content_type_t *c, *nc;
|
|
|
|
|
|
+ qsa_content_type_t *c, *tmp;
|
|
|
|
|
|
/* this function is always called only if no only one reference
|
|
/* this function is always called only if no only one reference
|
|
* to domain exists (see domain maintainer), this should mean, that
|
|
* to domain exists (see domain maintainer), this should mean, that
|
|
@@ -288,8 +288,9 @@ void destroy_notifier_domain(notifier_domain_t *domain)
|
|
|
|
|
|
c = domain->first_content_type;
|
|
c = domain->first_content_type;
|
|
while (c) {
|
|
while (c) {
|
|
- nc = c->next;
|
|
|
|
- destroy_content_type(c);
|
|
|
|
|
|
+ tmp = c;
|
|
|
|
+ c = c->next;
|
|
|
|
+ destroy_content_type(tmp);
|
|
}
|
|
}
|
|
domain->first_content_type = NULL;
|
|
domain->first_content_type = NULL;
|
|
domain->last_content_type = NULL;
|
|
domain->last_content_type = NULL;
|