diff --git a/test_crypto.c b/test_crypto.c index 83fdce6..62cf263 100644 --- a/test_crypto.c +++ b/test_crypto.c @@ -186,7 +186,7 @@ test_setup_auction_data () { uint16_t i; - ad = calloc (bidders, sizeof (struct BRANDT_Auction)); + ad = GNUNET_new_array (bidders, struct BRANDT_Auction); for (i = 0; i < bidders; i++) {