aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2015-01-24 23:01:29 +0000
committerLRN <lrn1986@gmail.com>2015-01-24 23:01:29 +0000
commitf530fd6ab2ab7743f975d8d1abbdeeb012e06079 (patch)
tree5933bdd6b23c521b7b3dfd2799f9eeeded519fcf /src/transport/test_plugin_transport.c
parentb321893de2f2dddd32a3fe2d727593c71a4875f3 (diff)
downloadgnunet-f530fd6ab2ab7743f975d8d1abbdeeb012e06079.tar.gz
gnunet-f530fd6ab2ab7743f975d8d1abbdeeb012e06079.zip
Fix the use of (GNUNET_)strdup and (GNUNET_)free
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r--src/transport/test_plugin_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c
index 2185478e7..e2d178ad0 100644
--- a/src/transport/test_plugin_transport.c
+++ b/src/transport/test_plugin_transport.c
@@ -348,7 +348,7 @@ env_notify_address (void *cls,
348 GNUNET_CONTAINER_DLL_insert(head, tail, w); 348 GNUNET_CONTAINER_DLL_insert(head, tail, w);
349 got_reply = GNUNET_NO; 349 got_reply = GNUNET_NO;
350 GNUNET_log(GNUNET_ERROR_TYPE_INFO, "Testing: address_to_string \n"); 350 GNUNET_log(GNUNET_ERROR_TYPE_INFO, "Testing: address_to_string \n");
351 w->addrstring = strdup ( 351 w->addrstring = GNUNET_strdup (
352 api->address_to_string (api, w->address->address, 352 api->address_to_string (api, w->address->address,
353 w->address->address_length)); 353 w->address->address_length));
354 if (NULL == w->addrstring) 354 if (NULL == w->addrstring)