Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Offer the possibility to change smpi bandwidth and latency factor into tag config...
[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;
 }