X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a201b7ceece70d2bc461ac48c8b746a36d07243..8dcab2e3c296d3bf6ec701ccba85b45856c67e7e:/src/xbt/dict_multi.c diff --git a/src/xbt/dict_multi.c b/src/xbt/dict_multi.c index 4a555913f2..1536b55e18 100644 --- a/src/xbt/dict_multi.c +++ b/src/xbt/dict_multi.c @@ -1,6 +1,7 @@ /* dict_multi - dictionnaries of dictionnaries of ... of data */ -/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -93,7 +94,7 @@ xbt_multidict_set(xbt_dict_t mdict, TRY { xbt_multidict_set_ext(mdict, keys, lens, data, free_ctn); - } CLEANUP { + } TRY_CLEANUP { xbt_dynar_free(&lens); } CATCH(e) { RETHROW; @@ -228,7 +229,7 @@ void xbt_multidict_remove(xbt_dict_t mdict, xbt_dynar_t keys) TRY { xbt_multidict_remove_ext(mdict, keys, lens); - } CLEANUP { + } TRY_CLEANUP { xbt_dynar_free(&lens); } CATCH(e) { RETHROW;