Re: (Potential memory leak)?

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 18 Aug 2010 08:33:32 +0200


Give a unique name to each of your histograms and read chapter in Users Guide about object ownership.

Rene Brun

Mohammed Mahmoud Mohammed wrote:
> Dear All,
>
> I wrote small macro to make analysis for eta curve but when I run it I got the below error:
>
>
> Warning in <TDirectoryFile::Append>: Replacing existing TH1: BinContent (Potential memory leak).
> Warning in <TDirectoryFile::Append>: Replacing existing TH1: BinContent (Potential memory leak).
>
>
> Can anyone tell me how can I solve this error
> Thanks in advance
>
> Best regards
>
> Mohammed
>
>
Received on Wed Aug 18 2010 - 08:33:42 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 18 2010 - 17:50:01 CEST