summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
30afd0b)
Signed-off-by: Florian Forster <octo@collectd.org>
pthread_mutex_lock (&write_lock);
i = 0;
pthread_mutex_lock (&write_lock);
i = 0;
- for (q = write_queue_head; q != NULL; q = q->next)
+ for (q = write_queue_head; q != NULL; )
plugin_value_list_free (q->vl);
plugin_value_list_free (q->vl);
+ q = q->next;
+ sfree (q1);
i++;
}
write_queue_head = NULL;
i++;
}
write_queue_head = NULL;