mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
More tweaks to avoid warnings (minor memory leak fixed in HTMLLinker.m)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36535 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f418b79b35
commit
18f5375e2b
7 changed files with 69 additions and 22 deletions
|
@ -844,10 +844,10 @@ 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");
|
||||
free(proc_file_name);
|
||||
#ifdef HAVE_PROGRAM_INVOCATION_NAME
|
||||
fprintf(stderr, "We try to go on anyway; but the program will ignore any argument which were passed to it.\n");
|
||||
_gnu_noobjc_argc = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue