--- parser3/src/main/pa_pool.C 2001/11/16 11:03:02 1.41 +++ parser3/src/main/pa_pool.C 2001/11/16 11:51:25 1.43 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_pool.C,v 1.41 2001/11/16 11:03:02 paf Exp $ + $Id: pa_pool.C,v 1.43 2001/11/16 11:51:25 paf Exp $ */ #include "pa_pool.h" @@ -17,7 +17,8 @@ #endif Pool::Pool(void *astorage) : - fstorage(astorage), fcontext(0), ftag(0) + fstorage(astorage), fcontext(0), + ftotal_allocated(0), ftotal_times(0) #ifdef XML , transcoder(0) #endif @@ -36,7 +37,7 @@ Pool::~Pool() { } void Pool::fail_alloc(size_t size) const { - SAPI::die("failed to allocate %u bytes, " + SAPI::die("out of pooled memory: failed to allocate %u bytes, " "total allocated %u in %u times", size, ftotal_allocated, ftotal_times);