summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ff4657f)
raw | patch | inline | side by side (parent: ff4657f)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Aug 2009 09:29:50 +0000 (09:29 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Aug 2009 09:29:50 +0000 (09:29 +0000) |
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 2a35ec2abe59cfc2f87a316a0e097c051879a98d..0e95e903a97063aef0a64358c112d60c75b250db 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
pthread_cond_broadcast(&ci->flushed);
pthread_mutex_unlock(&cache_lock);
- rrd_free_ptrs((void ***) &values, &values_num);
- free(file);
-
if (status == 0)
{
pthread_mutex_lock (&stats_lock);
pthread_mutex_unlock (&stats_lock);
}
+ rrd_free_ptrs((void ***) &values, &values_num);
+ free(file);
+
pthread_mutex_lock (&cache_lock);
}
pthread_mutex_unlock (&cache_lock);