more static analyser fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36532 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2013-04-14 18:49:23 +00:00
parent be54d9fa01
commit f418b79b35
8 changed files with 50 additions and 46 deletions

View file

@ -844,6 +844,7 @@ static char **_gnu_noobjc_env = NULL;
#else /* !HAVE_FUNCTION_STRERROR */
fprintf(stderr, "Couldn't open file %s when starting gnustep-base.\n",
proc_file_name);
free(proc_file_name);
#endif /* HAVE_FUNCTION_STRERROR */
fprintf(stderr, "Your gnustep-base library is compiled for a kernel supporting the /proc filesystem, but it can't access it.\n");
fprintf(stderr, "You should recompile or change your kernel.\n");