shutdown_task = NULL;
GNUNET_SCHEDULER_shutdown ();
}
+ GNUNET_free (cur_test_run.eval_probs_cache);
}
probs_as_str_size,
probs_as_str);
+ probs_as_str[0] = '\0';
for (i = 0; i < num_peers; i++)
{
probs_as_str_cpy = GNUNET_strndup (probs_as_str, probs_as_str_size);
rps_peer->index);
}
}
- GNUNET_free (cur_test_run.eval_probs_cache);
}
BIT(STAT_TYPE_VIEW_SIZE_AIM);
cur_test_run.have_collect_view = COLLECT_VIEW;
cur_test_run.eval_probs_cache = GNUNET_new_array (num_peers, double);
- memset (cur_test_run.eval_probs_cache, num_peers * sizeof (double), 0);
+ memset (&cur_test_run.eval_probs_cache, num_peers * sizeof (double), 0);
/* 'Clean' directory */
(void) GNUNET_DISK_directory_remove ("/tmp/rps/");