Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug leak
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Tue, 13 Jun 2017 15:50:44 +0000 (17:50 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Tue, 13 Jun 2017 15:50:44 +0000 (17:50 +0200)
src/s4u/s4u_file.cpp

index e63eba2..0f26d59 100644 (file)
@@ -27,6 +27,7 @@ File::File(const char* fullpath, void* userdata) : path_(fullpath), userdata_(us
   storage_type     = xbt_dynar_pop_as(info, char*);
   storageId        = xbt_dynar_pop_as(info, char*);
   mount_point      = xbt_dynar_pop_as(info, char*);
+  xbt_dynar_free(&info);
 }
 
 File::~File() {