- fix old mesh
[oweals/gnunet.git] / src / mesh / gnunet-regex-profiler.c
index fac7b02e5e02e20f3c6c7e0352e2e7a29405b535..1669666d08f9012c3344d4e1fa58f2a680d453b2 100644 (file)
@@ -308,7 +308,7 @@ static char * policy_dir;
 /**
  * Search strings.
  */
-static char **search_strings = NULL;
+static char **search_strings;
 
 /**
  * Number of search strings.
@@ -1872,6 +1872,7 @@ main (int argc, char *const *argv)
       GNUNET_PROGRAM_run (argc, argv, "gnunet-regex-profiler [OPTIONS] hosts-file policy-dir search-strings-file",
                           _("Profiler for regex/mesh"),
                           options, &run, NULL);
+  GNUNET_free ((void*) argv);
   if (GNUNET_OK != ret)
     return ret;
   if (GNUNET_OK != result)