>>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:

Juergen> On 23-Sep-2000 Lars Gullik Bjønnes wrote:
>>  This is correct. Objects will be deleted, pointers to objects too,
>> but not the objects pointed to.

Juergen> I soon will commit a fix for this, Jean-Marc could you then
Juergen> have another look?

OK, it is gone, now. Thanks. Here is another one for you (which
probably was the cause for the SetFont leak I reported earlier):

         MLK: 8500 bytes leaked in 17 blocks
         This memory was allocated from:
               malloc         [rtlib.o]
               LyXParagraph::LyXParagraph() [stl_alloc.h:151]
               LyXTabular::OldFormatRead(LyXLex&,const lyxstring&) [tabular.C:1258]
                      }
                      set_row_column_number_info();
                  
               =>     LyXParagraph * par = new LyXParagraph;
                      LyXParagraph * return_par = 0;
                  #ifndef NEW_INSETS
                      LyXParagraph::footnote_flag footnoteflag = 
LyXParagraph::NO_FOOTNOTE;
               LyXTabular::Read(const Buffer*,LyXLex&) [tabular.C:1047]
               LyXTabular::LyXTabular(const Buffer*,InsetTabular*,LyXLex&) 
[tabular.C:105]
               InsetTabular::Read(const Buffer*,LyXLex&) [insettabular.C:188]
               
Buffer::parseSingleLyXformat2Token(LyXLex&,LyXParagraph*&,LyXParagraph*&,const 
lyxstring&,int&,char&,LyXFont&,LyXParagraph::footnote_flag&,LyXParagraph::footnote_kind&)
 [buffer.C:888]
               Buffer::readLyXformat2(LyXLex&,LyXParagraph*) [buffer.C:300]
               Buffer::readFile(LyXLex&,LyXParagraph*) [buffer.C:1107]
               readFile__10BufferListRC9lyxstringb [bufferlist.C:396]
         Block of 500 bytes (17 times); last block at 0xb0e968


This probably accounts for most of the ~40k we still leak (I just
opened the userguide, moved a bit the scrollbar, and exited).

JMarc

Reply via email to