Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Free exception.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 13 Sep 2011 08:20:51 +0000 (10:20 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 27 Sep 2011 12:50:28 +0000 (14:50 +0200)
src/surf/surf_routing.c

index e32d928..8fb18e6 100644 (file)
@@ -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;