Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Always traverse the head, not only on error catching
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 7 Aug 2005 17:48:58 +0000 (17:48 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 7 Aug 2005 17:48:58 +0000 (17:48 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1622 48e7efb5-ca39-0410-a469-dd3cf9ba447f

testsuite/xbt/dict_usage.c

index c71e524..feae8e2 100644 (file)
@@ -228,8 +228,8 @@ xbt_dict_dump(head,(void (*)(void*))&printf);
   } CATCH(e) {
     if (e.category != not_found_error) 
       RETHROW;
-    xbt_ex_free(e);              traverse(head);
-  } 
+    xbt_ex_free(e);
+  }                              traverse(head);
   
   printf(" - Free the dictionnary twice\n");
   xbt_dict_free(&head);