summaryrefslogtreecommitdiff
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)
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,
GNUNET_CONTAINER_DLL_insert(head, tail, w);
got_reply = GNUNET_NO;
GNUNET_log(GNUNET_ERROR_TYPE_INFO, "Testing: address_to_string \n");
- w->addrstring = strdup (
+ w->addrstring = GNUNET_strdup (
api->address_to_string (api, w->address->address,
w->address->address_length));
if (NULL == w->addrstring)