Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Free exception.
[simgrid.git] / 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;