[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: fix leak
From: |
gnunet |
Subject: |
[gnunet] branch master updated: fix leak |
Date: |
Fri, 17 Jan 2020 18:20:48 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new a1cb6c541 fix leak
a1cb6c541 is described below
commit a1cb6c541213da63a7ab3e5b1cd51ba941fff84d
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 17 18:17:19 2020 +0100
fix leak
---
src/util/os_installation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 990acede4..dcd31dc2c 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -611,10 +611,10 @@ GNUNET_OS_installation_get_path (enum
GNUNET_OS_InstallationPathKind dirkind)
DIR_SEPARATOR_STR "lib" DIR_SEPARATOR_STR,
(NULL != multiarch) ? multiarch : "",
dirname);
+ GNUNET_free (dirname);
if (GNUNET_YES == GNUNET_DISK_directory_test (tmp, GNUNET_YES))
{
GNUNET_free (execpath);
- GNUNET_free (dirname);
return tmp;
}
GNUNET_free (tmp);
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnunet] branch master updated: fix leak,
gnunet <=