]> Creatis software - gdcm.git/blobdiff - src/gdcmDocEntrySet.cxx
STYLE: Cleanup code
[gdcm.git] / src / gdcmDocEntrySet.cxx
index 8a622d928c90107126f5d4c8c528acbb8a41a279..b3cfe401bd19af2ab6a7e46bc9f8a6e73a96e90f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocEntrySet.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/20 15:24:09 $
-  Version:   $Revision: 1.62 $
+  Date:      $Date: 2005/10/21 10:48:16 $
+  Version:   $Revision: 1.64 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -536,6 +536,7 @@ DictEntry *DocEntrySet::GetDictEntry(uint16_t group, uint16_t elem,
       {
          goodEntry = NULL;
       }
+      dictEntry->Unregister();
    }
 
    // Create a new virtual DictEntry if necessary