RE: writing/reading objects to/form a file

From: Chiara Zampolli <>
Date: Mon, 21 Nov 2005 10:38:03 +0100

So, I was right concerning this. But still I do not know why it crashes... Is it because of the initialization in the default constructor?

-----Original Message-----
From: Axel Naumann [] Sent: luned́ 21 novembre 2005 10.13
To: Stan Seibert
Cc: chiara zampolli; Subject: Re: [ROOT] writing/reading objects to/form a file

Hi Stan,

>>> AliTOFCalib() {fPads= new AliTOFCalParam[npad];}

> Reread the line where new is used: There are brackets after new
> AliTOFCalParam, not parens, so delete[] is the appropriate operator to
> use when freeing the memory.

Oops. Thanks, Stan!
Axel. Received on Mon Nov 21 2005 - 10:34:55 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET