From: Arnaud Giersch Date: Tue, 13 Sep 2011 08:20:51 +0000 (+0200) Subject: Free exception. X-Git-Tag: v3_6_2~44 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2c863b0bc543c1d112743a8ee4691dddf40f6508?hp=55358c50b5d4605f34ae7efbf1fcb5ef52f93bc2 Free exception. --- diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index e32d928ac0..8fb18e696f 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -818,6 +818,7 @@ static xbt_dynar_t get_route_or_null(const char *src, const char *dst) TRY { get_route_latency(src, dst, &route, NULL, 1); }CATCH(exception) { + xbt_ex_free(exception); return NULL; } return route;