aboutsummaryrefslogtreecommitdiff
path: root/src/util/helper.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/util/helper.c
parentb321893de2f2dddd32a3fe2d727593c71a4875f3 (diff)
downloadgnunet-f530fd6ab2ab7743f975d8d1abbdeeb012e06079.tar.gz
gnunet-f530fd6ab2ab7743f975d8d1abbdeeb012e06079.zip
Fix the use of (GNUNET_)strdup and (GNUNET_)free
Diffstat (limited to 'src/util/helper.c')
-rw-r--r--src/util/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/helper.c b/src/util/helper.c
index 6dd417a91..3ff72c329 100644
--- a/src/util/helper.c
+++ b/src/util/helper.c
@@ -498,7 +498,7 @@ GNUNET_HELPER_start (int with_control_pipe,
498 if (NULL != strstr (binary_name, "gnunet")) 498 if (NULL != strstr (binary_name, "gnunet"))
499 h->binary_name = GNUNET_OS_get_libexec_binary_path (binary_name); 499 h->binary_name = GNUNET_OS_get_libexec_binary_path (binary_name);
500 else 500 else
501 h->binary_name = strdup (binary_name); 501 h->binary_name = GNUNET_strdup (binary_name);
502 for (c = 0; NULL != binary_argv[c]; c++); 502 for (c = 0; NULL != binary_argv[c]; c++);
503 h->binary_argv = GNUNET_malloc (sizeof (char *) * (c + 1)); 503 h->binary_argv = GNUNET_malloc (sizeof (char *) * (c + 1));
504 for (c = 0; NULL != binary_argv[c]; c++) 504 for (c = 0; NULL != binary_argv[c]; c++)