summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-12-03 22:34:26 +0000
committerJames Bursa <james@netsurf-browser.org>2006-12-03 22:34:26 +0000
commitb6b768f52153f95ed96980b3eb019d9eec340b6c (patch)
tree3c343c9d7b3215a991fa2aa666ed0b163c8ab760 /content/content.h
parentdb0aae2a469d179fffbbbb83acb649214f5dd9ec (diff)
downloadnetsurf-b6b768f52153f95ed96980b3eb019d9eec340b6c.tar.gz
netsurf-b6b768f52153f95ed96980b3eb019d9eec340b6c.tar.bz2
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
Diffstat (limited to 'content/content.h')
-rw-r--r--content/content.h3
1 files changed, 2 insertions, 1 deletions
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. */