Skip to content
Snippets Groups Projects
Commit b103eb9f authored by Rene Brun's avatar Rene Brun
Browse files

In TImage::Open fix a bug when deleting the local char array.

git-svn-id: http://root.cern.ch/svn/root/trunk@18106 27541ba8-7e3a-0410-8455-c3a389f83636
parent a6136e8e
No related branches found
No related tags found
No related merge requests found
// @(#)root/graf:$Name: $:$Id: TImage.cxx,v 1.10 2007/02/22 16:45:47 brun Exp $
// @(#)root/graf:$Name: $:$Id: TImage.cxx,v 1.11 2007/02/27 13:08:20 couet Exp $
// Author: Fons Rademakers 15/10/2001
/*************************************************************************
......@@ -115,7 +115,7 @@ TImage *TImage::Open(const char *file, EImageFileTypes type)
if (img)
img->ReadImage(fullname, type);
delete fullname;
delete [] fullname;
return img;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment