summaryrefslogtreecommitdiff
path: root/cesar/lib
diff options
context:
space:
mode:
authordufour2010-02-12 15:51:29 +0000
committerdufour2010-02-12 15:51:29 +0000
commitcfb0003fbc70fb2d37e256fbb3af99d75e968769 (patch)
tree92f594abfe77a9dca7434b32e9589d6e3cc55997 /cesar/lib
parentac263f91a4f5853419b9a8cc598a72540bf84307 (diff)
cesar/lib/stats: correctly initialize newly allocated pages, refs #1237
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6711 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/lib')
-rw-r--r--cesar/lib/src/stats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cesar/lib/src/stats.c b/cesar/lib/src/stats.c
index f7ca1497fe..e0b1f94075 100644
--- a/cesar/lib/src/stats.c
+++ b/cesar/lib/src/stats.c
@@ -109,6 +109,7 @@ lib_stats_new_stat (const char *name, lib_stats_types_t type)
lib_stats_book.last_page = lib_stats_book.last_page->next_page;
lib_stats_book.last_page->nb_stats = 0;
+ lib_stats_book.last_page->page_size = 0;
lib_stats_book.nb_pages++;
}