diff options
author | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
commit | e0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch) | |
tree | ecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/ats/gnunet-service-ats_performance.c | |
parent | 92fd84dc7ef98452f848a62677c61a2b80b5835e (diff) | |
download | gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip |
malloc -> new
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 8aad96eea..b9d918103 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -307,7 +307,7 @@ GAS_performance_add_client (struct GNUNET_SERVER_Client *client, | |||
307 | struct PerformanceClient *pc; | 307 | struct PerformanceClient *pc; |
308 | GNUNET_break (NULL == find_client (client)); | 308 | GNUNET_break (NULL == find_client (client)); |
309 | 309 | ||
310 | pc = GNUNET_malloc (sizeof (struct PerformanceClient)); | 310 | pc = GNUNET_new (struct PerformanceClient); |
311 | pc->client = client; | 311 | pc->client = client; |
312 | pc->flag = flag; | 312 | pc->flag = flag; |
313 | 313 | ||