==29753== Memcheck, a memory error detector ==29753== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==29753== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==29753== Command: ./ex_drawclonepad ==29753== Parent PID: 11000 ==29753== ==29753== ==29753== HEAP SUMMARY: ==29753== in use at exit: 6,436,436 bytes in 73,721 blocks ==29753== total heap usage: 299,208 allocs, 225,487 frees, 21,299,750 bytes allocated ==29753== ==29753== 568 (264 direct, 304 indirect) bytes in 1 blocks are definitely lost in loss record 36,571 of 36,759 ==29753== at 0x4C2295E: operator new(unsigned long) (vg_replace_malloc.c:220) ==29753== by 0x8427FC8: TStorage::ObjectAlloc(unsigned long) (TStorage.cxx:328) ==29753== by 0x402634: TObject::operator new(unsigned long) (TObject.h:156) ==29753== by 0x5C53ECD: ROOT::new_TPaveText(void*) (in /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.04/x86_64-slc5-gcc43-dbg/root/lib/libGraf.so) ==29753== by 0x84A9C25: TClass::New(TClass::ENewType) const (TClass.cxx:3689) ==29753== by 0x83DA770: TDirectory::CloneObject(TObject const*, bool) (TDirectory.cxx:245) ==29753== by 0x83F7C29: TObject::Clone(char const*) const (TObject.cxx:204) ==29753== by 0x50776E4: TCanvas::DrawClonePad() (TCanvas.cxx:881) ==29753== by 0x402116: main (ex_drawclonepad.cpp:47) ==29753== ==29753== 3,160 (328 direct, 2,832 indirect) bytes in 1 blocks are definitely lost in loss record 36,686 of 36,759 ==29753== at 0x4C2295E: operator new(unsigned long) (vg_replace_malloc.c:220) ==29753== by 0x8427FC8: TStorage::ObjectAlloc(unsigned long) (TStorage.cxx:328) ==29753== by 0x402634: TObject::operator new(unsigned long) (TObject.h:156) ==29753== by 0x5C3B4CC: ROOT::new_TPaveStats(void*) (in /afs/cern.ch/sw/lcg/app/releases/ROOT/5.30.04/x86_64-slc5-gcc43-dbg/root/lib/libGraf.so) ==29753== by 0x84A9C25: TClass::New(TClass::ENewType) const (TClass.cxx:3689) ==29753== by 0x77FCEBA: TBufferFile::ReadObjectAny(TClass const*) (TBufferFile.cxx:2319) ==29753== by 0x50AE6D3: TBuffer& operator>>(TBuffer&, TObject*&) (TBuffer.h:374) ==29753== by 0x8483FF9: TList::Streamer(TBuffer&) (TList.cxx:985) ==29753== by 0x84A6C3E: TClass::StreamerTObjectInitialized(void*, TBuffer&, TClass const*) const (TClass.cxx:5010) ==29753== by 0x62E4B43: TClass::Streamer(void*, TBuffer&, TClass const*) const (TClass.h:377) ==29753== by 0x77FD480: TBufferFile::ReadFastArray(void**, TClass const*, int, bool, TMemberStreamer*, TClass const*) (TBufferFile.cxx:1541) ==29753== by 0x7929F04: int TStreamerInfo::ReadBuffer(TBuffer&, char** const&, int, int, int, int) (TStreamerInfoReadBuffer.cxx:1094) ==29753== by 0x785BDA6: TStreamerInfoActions::GenericAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) (TStreamerInfoActions.cxx:107) ==29753== by 0x77FF6DD: TStreamerInfoActions::TConfiguredAction::operator()(TBuffer&, void*) const (TStreamerInfoActions.h:95) ==29753== by 0x77F7ADD: TBufferFile::ReadSequence(TStreamerInfoActions::TActionSequence const&, void*) (TBufferFile.cxx:3695) ==29753== by 0x77F880F: TBufferFile::ReadClassBuffer(TClass const*, void*, int, unsigned int, unsigned int, TClass const*) (TBufferFile.cxx:3529) ==29753== by 0x55268B2: TH1::Streamer(TBuffer&) (TH1.cxx:6084) ==29753== by 0x57DADC6: ROOT::streamer_TH1(TBuffer&, void*) (G__Hist.cxx:6707) ==29753== by 0x84E4CAC: TStreamerBase::ReadBuffer(TBuffer&, char*) (TStreamerElement.cxx:603) ==29753== by 0x792B289: int TStreamerInfo::ReadBuffer(TBuffer&, char** const&, int, int, int, int) (TStreamerInfoReadBuffer.cxx:1369) ==29753== by 0x785BDA6: TStreamerInfoActions::GenericAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) (TStreamerInfoActions.cxx:107) ==29753== by 0x77FF6DD: TStreamerInfoActions::TConfiguredAction::operator()(TBuffer&, void*) const (TStreamerInfoActions.h:95) ==29753== by 0x77F7ADD: TBufferFile::ReadSequence(TStreamerInfoActions::TActionSequence const&, void*) (TBufferFile.cxx:3695) ==29753== by 0x77F83D0: TBufferFile::ReadClassBuffer(TClass const*, void*, TClass const*) (TBufferFile.cxx:3625) ==29753== by 0x57F5590: TH1F::Streamer(TBuffer&) (G__Hist.cxx:6823) ==29753== by 0x83DA902: TDirectory::CloneObject(TObject const*, bool) (TDirectory.cxx:271) ==29753== by 0x83F7C29: TObject::Clone(char const*) const (TObject.cxx:204) ==29753== by 0x83F7696: TNamed::Clone(char const*) const (TNamed.cxx:67) ==29753== by 0x50776E4: TCanvas::DrawClonePad() (TCanvas.cxx:881) ==29753== by 0x402116: main (ex_drawclonepad.cpp:47) ==29753== ==29753== LEAK SUMMARY: ==29753== definitely lost: 592 bytes in 2 blocks ==29753== indirectly lost: 3,136 bytes in 18 blocks ==29753== possibly lost: 0 bytes in 0 blocks ==29753== still reachable: 4,176,652 bytes in 49,017 blocks ==29753== suppressed: 2,256,056 bytes in 24,684 blocks ==29753== Reachable blocks (those to which a pointer was found) are not shown. ==29753== To see them, rerun with: --leak-check=full --show-reachable=yes ==29753== ==29753== For counts of detected and suppressed errors, rerun with: -v ==29753== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 156 from 156)