--- parser3/src/classes/table.C 2005/11/25 09:52:35 1.208.6.8 +++ parser3/src/classes/table.C 2005/11/18 11:04:37 1.216 @@ -4,8 +4,7 @@ Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ - -static const char * const IDENT_TABLE_C="$Date: 2005/11/25 09:52:35 $"; +static const char * const IDENT_TABLE_C="$Date: 2005/11/18 11:04:37 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -21,7 +20,7 @@ static const char * const IDENT_TABLE_C= class MTable: public Methoded { public: // VStateless_class - Value* create_new_value(Pool&) { return new VTable(); } + Value* create_new_value(Pool&, HashStringValue&) { return new VTable(); } public: MTable(); @@ -447,13 +446,8 @@ static void _save(Request& r, MethodPara } // write - { - const char* data_cstr=sdata.cstr(); - file_write(r.absolute(file_name), - data_cstr, sdata.length(), true, do_append); - if(*data_cstr) // not empty (when empty it's not heap memory) - pa_free((void*)data_cstr); // not needed anymore - } + file_write(r.absolute(file_name), + sdata.cstr(), sdata.length(), true, do_append); } static void _count(Request& r, MethodParams&) {