A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Remove redundant 'mc_mode' global variable
[simgrid.git]
/
src
/
surf
/
AsImpl.cpp
diff --git
a/src/surf/AsImpl.cpp
b/src/surf/AsImpl.cpp
index
36666af
..
12d2c2f
100644
(file)
--- a/
src/surf/AsImpl.cpp
+++ b/
src/surf/AsImpl.cpp
@@
-1,12
+1,10
@@
-/* Copyright (c) 2006-2014. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2006-2016. 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. */
#include "xbt/log.h"
/* 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. */
#include "xbt/log.h"
-#include "simgrid/s4u/As.hpp"
#include "src/surf/AsImpl.hpp"
#include "src/surf/network_interface.hpp" // Link FIXME: move to proper header
#include "src/surf/AsImpl.hpp"
#include "src/surf/network_interface.hpp" // Link FIXME: move to proper header
@@
-21,7
+19,6
@@
namespace simgrid {
}
AsImpl::~AsImpl()
{
}
AsImpl::~AsImpl()
{
- xbt_dynar_free(&upDownLinks);
delete netcard_;
}
delete netcard_;
}
@@
-213,6
+210,7
@@
namespace simgrid {
getRouteRecursive(src, route.gw_src, links, latency);
for (auto link: *route.link_list)
links->push_back(link);
getRouteRecursive(src, route.gw_src, links, latency);
for (auto link: *route.link_list)
links->push_back(link);
+ delete route.link_list;
/* If dest gateway is not our destination, we have to recursively find our way from this point */
if (route.gw_dst != dst)
/* If dest gateway is not our destination, we have to recursively find our way from this point */
if (route.gw_dst != dst)