From b6b768f52153f95ed96980b3eb019d9eec340b6c Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 3 Dec 2006 22:34:26 +0000 Subject: Improved tracking of memory usage. c->size is now exclusive of talloc size, and the two are added to find the full size. svn path=/trunk/netsurf/; revision=3103 --- content/content.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index aca53e448..123733ba9 100644 --- a/content/content.h +++ b/content/content.h @@ -180,7 +180,8 @@ struct content { struct cache_data *cache_data; /**< Cache control data */ unsigned int size; /**< Estimated size of all data - associated with this content. */ + associated with this content, except + alloced as talloc children of this. */ char *title; /**< Title for browser window. */ unsigned int active; /**< Number of child fetches or conversions currently in progress. */ -- cgit v1.2.3