-fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 Jan 2012 10:35:47 +0000 (10:35 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 Jan 2012 10:35:47 +0000 (10:35 +0000)
src/exit/gnunet-daemon-exit.c

index 52959a32d34a03e9db984d8066d012e7c0692d28..61c719e5dd3b97abb22c7bf3cd730dc37d02b597 100644 (file)
@@ -232,7 +232,7 @@ static struct GNUNET_HELPER_Handle *helper_handle;
 /**
  * Arguments to the exit helper.
  */
-static char *exit_argv[7];
+static char *exit_argv[8];
 
 /**
  * IPv6 address of our TUN interface.
@@ -2758,7 +2758,7 @@ cleanup (void *cls GNUNET_UNUSED,
     GNUNET_STATISTICS_destroy (stats, GNUNET_YES);
     stats = NULL;
   }
-  for (i=0;i<5;i++)
+  for (i=0;i<8;i++)
     GNUNET_free_non_null (exit_argv[i]);
 }