summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/fetchcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetchcache.c b/content/fetchcache.c
index 087354489..ca657cb8e 100644
--- a/content/fetchcache.c
+++ b/content/fetchcache.c
@@ -682,7 +682,7 @@ void fetchcache_parse_header(struct content *c, const char *data,
}
} else if (5 < size && strncasecmp(data, "ETag:", 5) == 0) {
/* extract ETag header */
- free(c->cache_data->etag);
+ talloc_free(c->cache_data->etag);
c->cache_data->etag = talloc_array(c, char, size);
if (!c->cache_data->etag) {
LOG(("malloc failed"));