aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r--src/sledjchisl/sledjchisl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index dddd054..3e216c0 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1366,6 +1366,9 @@ void freeSimList(simList *sims)
1366{ 1366{
1367 int i; 1367 int i;
1368 1368
1369 if (NULL == sims)
1370 return;
1371
1369 for (i = 0; i < sims->num; i++) 1372 for (i = 0; i < sims->num; i++)
1370 free(sims->sims[i]); 1373 free(sims->sims[i]);
1371 free(sims->sims); 1374 free(sims->sims);