- fix 2699
[oweals/gnunet.git] / src / arm / do_start_process.c
index 0687fa3459d997fea864cc7c003ff3722f421642..b4bb10c6a728a0ccd99e5fdcd3bafa2c1ab3c66a 100644 (file)
@@ -119,13 +119,12 @@ do_start_process (int pipe_control, unsigned int std_inheritance,
 /* *INDENT-ON* */
   va_end (ap);
   argv[argv_size] = NULL;
-  binary_path = GNUNET_OS_get_libexec_binary_path (argv[0]);
+  binary_path = argv[0];
   proc = GNUNET_OS_start_process_v (pipe_control, std_inheritance, lsocks, 
                                    binary_path, argv);
   while (argv_size > 0)
     GNUNET_free (argv[--argv_size]);
   GNUNET_free (argv);
-  GNUNET_free (binary_path);
   return proc;
 }