Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill duplicate definitions, and try to ensure that MC-ready code still works without...
[simgrid.git] / src / rngstreams / RngStream.c
index de1416b..eb4f695 100644 (file)
@@ -339,8 +339,7 @@ void RngStream_DeleteStream (RngStream * p)
 {
    if (*p == NULL)
       return;
-   if ((*p)->name != NULL)
-      free ((*p)->name);
+   free((*p)->name);
    free (*p);
    *p = NULL;
 }