-LRN: fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 29 Feb 2012 09:23:19 +0000 (09:23 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 29 Feb 2012 09:23:19 +0000 (09:23 +0000)
src/util/os_priority.c

index a1f173a5e585adfe47148d762652b9055e37101a..5a07099582aad7e0bd7b807205469f1deb944c72 100644 (file)
@@ -985,8 +985,8 @@ GNUNET_OS_start_process_vap (int pipe_control,
     our_env[0] = NULL;
   }
   env_block = CreateCustomEnvTable (our_env);
-  GNUNET_free (our_env[0]);
-  GNUNET_free (our_env[1]);
+  GNUNET_free_non_null (our_env[0]);
+  GNUNET_free_non_null (our_env[1]);
 
   if (ERROR_SUCCESS != plibc_conv_to_win_pathwconv(path, wpath)
       || ERROR_SUCCESS != plibc_conv_to_win_pathwconv(cmd, wcmd)