X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/232df979b87bc271f4fbb61a2059c6539bc23012..5a77ab53a4a037194f394ef90f484f490d487be1:/src/s4u/s4u_host.cpp diff --git a/src/s4u/s4u_host.cpp b/src/s4u/s4u_host.cpp index a21b4d01ec..3842d674e9 100644 --- a/src/s4u/s4u_host.cpp +++ b/src/s4u/s4u_host.cpp @@ -42,8 +42,7 @@ Host::Host(const char* name) Host::~Host() { delete pimpl_cpu; - if (mounts != NULL) - delete mounts; + delete mounts; } Host *Host::by_name(std::string name) {