summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3c31674)
raw | patch | inline | side by side (parent: 3c31674)
author | Florian Forster <octo@huhu.verplant.org> | |
Fri, 10 Oct 2008 06:17:22 +0000 (08:17 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 10 Oct 2008 06:18:19 +0000 (08:18 +0200) |
Whenever a data set went missing, the its name (the `key'; up to (5*64)+4
bytes) was not free'd.
Thanks to Niraj Tolia for reporting this :)
bytes) was not free'd.
Thanks to Niraj Tolia for reporting this :)
src/utils_cache.c | patch | blob | history |
diff --git a/src/utils_cache.c b/src/utils_cache.c
index 9f7e3b686e52083f37871afc4f69391d1dd191bc..6d96516900c7f9d03d1cc39a2b3abef8c89a96f8 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
ERROR ("uc_check_timeout: c_avl_remove (%s) failed.", keys[i]);
}
sfree (keys[i]);
+ sfree (key);
cache_free (ce);
}
else if (status == 1) /* persist */