From: Christian Grothoff Date: Thu, 17 Jun 2010 23:10:25 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~21345 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d47f834c1f2de41c9fba74a4b6928e7c8e0679e0;p=oweals%2Fgnunet.git fix --- diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 54ac001f9..c61028187 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c @@ -99,7 +99,6 @@ get_path_from_proc_exe () if ((size == 0) || (size >= sizeof(lnk)-1)) { GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "readlink", fn); - GNUNET_free (lnk); return NULL; } lnk[size] = '\0'; @@ -108,7 +107,6 @@ get_path_from_proc_exe () if ((size < 4) || (lnk[size - 4] != '/')) { /* not installed in "/bin/" -- binary path probably useless */ - GNUNET_free (lnk); return NULL; } lnk[size] = '\0';