[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: fix mem leaks
From: |
gnunet |
Subject: |
[gnunet] branch master updated: fix mem leaks |
Date: |
Sat, 18 Jan 2020 19:18:32 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 25769d4da fix mem leaks
25769d4da is described below
commit 25769d4da399a1dca13404622c99911337904051
Author: Florian Dold <address@hidden>
AuthorDate: Sat Jan 18 19:14:45 2020 +0100
fix mem leaks
---
contrib/build-common | 2 +-
src/pq/pq_connect.c | 1 +
src/util/crypto_rsa.c | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/contrib/build-common b/contrib/build-common
index 1915a74bb..d81bbfabc 160000
--- a/contrib/build-common
+++ b/contrib/build-common
@@ -1 +1 @@
-Subproject commit 1915a74bbb4cd2ae9bc541a382dfebc37064a2fd
+Subproject commit d81bbfabc2538932f631d3946bd6a9b95182b4f2
diff --git a/src/pq/pq_connect.c b/src/pq/pq_connect.c
index f158a4c3a..ec074c956 100644
--- a/src/pq/pq_connect.c
+++ b/src/pq/pq_connect.c
@@ -322,6 +322,7 @@ GNUNET_PQ_disconnect (struct GNUNET_PQ_Context *db)
GNUNET_free_non_null (db->es);
GNUNET_free_non_null (db->ps);
GNUNET_free_non_null (db->load_path);
+ GNUNET_free_non_null (db->config_str);
PQfinish (db->conn);
GNUNET_free (db->config_str);
GNUNET_free (db);
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index 5bea87793..f0d564790 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -1104,6 +1104,7 @@ GNUNET_CRYPTO_rsa_signature_encode (const struct
s));
GNUNET_assert (rsize == buf_size);
*buffer = (char *) buf;
+ gcry_mpi_release (s);
return buf_size;
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: fix mem leaks,
gnunet <=