diff options
Diffstat (limited to 'src/ats/test_ats_api_bandwidth_consumption.c')
-rw-r--r-- | src/ats/test_ats_api_bandwidth_consumption.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats/test_ats_api_bandwidth_consumption.c b/src/ats/test_ats_api_bandwidth_consumption.c index 74ee22cfb..493323657 100644 --- a/src/ats/test_ats_api_bandwidth_consumption.c +++ b/src/ats/test_ats_api_bandwidth_consumption.c | |||
@@ -189,8 +189,8 @@ run (void *cls, | |||
189 | end (); | 189 | end (); |
190 | return; | 190 | return; |
191 | } | 191 | } |
192 | p = GNUNET_malloc (sizeof (struct PeerContext)); | 192 | p = GNUNET_new (struct PeerContext); |
193 | addr = GNUNET_malloc (sizeof (struct Address)); | 193 | addr = GNUNET_new (struct Address); |
194 | 194 | ||
195 | atp = GNUNET_ATS_performance_init (cfg, &performance_cb, NULL); | 195 | atp = GNUNET_ATS_performance_init (cfg, &performance_cb, NULL); |
196 | if (atp == NULL) | 196 | if (atp == NULL) |