From f530fd6ab2ab7743f975d8d1abbdeeb012e06079 Mon Sep 17 00:00:00 2001 From: LRN Date: Sat, 24 Jan 2015 23:01:29 +0000 Subject: Fix the use of (GNUNET_)strdup and (GNUNET_)free --- src/util/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/helper.c') 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, if (NULL != strstr (binary_name, "gnunet")) h->binary_name = GNUNET_OS_get_libexec_binary_path (binary_name); else - h->binary_name = strdup (binary_name); + h->binary_name = GNUNET_strdup (binary_name); for (c = 0; NULL != binary_argv[c]; c++); h->binary_argv = GNUNET_malloc (sizeof (char *) * (c + 1)); for (c = 0; NULL != binary_argv[c]; c++) -- cgit v1.2.3