Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
initialize field As::p_linkUpDownList at declaration (+ cosmetics)
[simgrid.git] / src / surf / surfxml_parse.cpp
index ddbb223..15fa5f2 100644 (file)
@@ -15,7 +15,6 @@
 #include "xbt/dict.h"
 #include "src/surf/surf_private.h"
 #include "simgrid/sg_config.h"
-#include "surfxml_private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_parse, surf,
                                 "Logging specific to the SURF parsing module");
@@ -1051,7 +1050,7 @@ void surf_parse_close(void)
   xbt_dynar_free(&surf_parsed_filename_stack);
   if (surf_parsed_filename) {
     char *dir = NULL;
-    xbt_dynar_pop(surf_path, dir);
+    xbt_dynar_pop(surf_path, &dir);
     free(dir);
   }