projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d2019
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Thu, 17 Jun 2010 23:10:25 +0000
(23:10 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 17 Jun 2010 23:10:25 +0000
(23:10 +0000)
src/util/os_installation.c
patch
|
blob
|
history
diff --git
a/src/util/os_installation.c
b/src/util/os_installation.c
index 54ac001f9271be397504e08b67956f02277ac746..c610281878b560e1f074aee296096c5ba605e904 100644
(file)
--- 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';