From d47f834c1f2de41c9fba74a4b6928e7c8e0679e0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 17 Jun 2010 23:10:25 +0000 Subject: fix --- src/util/os_installation.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/util/os_installation.c') 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'; -- cgit v1.2.3