X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPrintFile.cxx;h=a6586f6834ffd6ea92f35c91878fdf2bb0bde325;hb=fd592bdbba44980b6649a4a3bb80a7ecd25deb5a;hp=3cd654f92d9b87e9a559a6f5ea57fd2c0fb105a8;hpb=71e4d3f94788734baf92e3fe161d4e6146c08fa8;p=gdcm.git diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index 3cd654f9..a6586f68 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2005/11/18 11:45:34 $ - Version: $Revision: 1.72 $ + Date: $Date: 2005/11/23 13:38:17 $ + Version: $Revision: 1.73 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -469,7 +469,7 @@ int main(int argc, char *argv[]) std::cout<Delete(); - delete fh; + fh->Delete(); } else // ====== Deal with a Directory ====== {