Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "What's not malloced cannot be leaked"
[simgrid.git] / src / surf / AsImpl.cpp
index 36666af..3a9f80e 100644 (file)
@@ -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"
 
-#include "simgrid/s4u/As.hpp"
 #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()
     {
-      xbt_dynar_free(&upDownLinks);
       delete netcard_;
     }