From 2c863b0bc543c1d112743a8ee4691dddf40f6508 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 13 Sep 2011 10:20:51 +0200 Subject: [PATCH] Free exception. --- src/surf/surf_routing.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1