summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 62e42f8)
raw | patch | inline | side by side (parent: 62e42f8)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 4 Aug 2009 09:05:02 +0000 (11:05 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 4 Aug 2009 09:05:02 +0000 (11:05 +0200) |
src/utils_cache.c | patch | blob | history |
diff --git a/src/utils_cache.c b/src/utils_cache.c
index 3577ac6f8baa039723bf6e264ae268ef3c270061..91a60f0d8ed77aa22915702e9fbd0ea1c93802cc 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
ce->history = NULL;
ce->history_length = 0;
+ ce->meta = NULL;
return (ce);
} /* cache_entry_t *cache_alloc */
sfree (ce->values_gauge);
sfree (ce->values_raw);
sfree (ce->history);
+ if (ce->meta != NULL)
+ {
+ meta_data_destroy (ce->meta);
+ ce->meta = NULL;
+ }
sfree (ce);
} /* void cache_free */