[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -fixes two memory leaks
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -fixes two memory leaks |
Date: |
Mon, 22 Nov 2021 15:58:42 +0100 |
This is an automated email from the git hooks/post-receive script.
thejackimonster pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 04833271d -fixes two memory leaks
04833271d is described below
commit 04833271d9b76ef7d4719827ca4843a611a48208
Author: TheJackiMonster <thejackimonster@gmail.com>
AuthorDate: Mon Nov 22 15:58:34 2021 +0100
-fixes two memory leaks
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
---
src/arm/arm_api.c | 1 +
src/messenger/messenger_api_handle.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c
index 5fcbfb0a9..1360ecf14 100644
--- a/src/arm/arm_api.c
+++ b/src/arm/arm_api.c
@@ -907,6 +907,7 @@ notify_starting (void *cls)
op->result_cont (op->cont_cls,
GNUNET_ARM_REQUEST_SENT_OK,
op->starting_ret);
+ GNUNET_DISK_file_close(op->rfd);
GNUNET_free (op);
}
diff --git a/src/messenger/messenger_api_handle.c
b/src/messenger/messenger_api_handle.c
index 516807e13..242389040 100644
--- a/src/messenger/messenger_api_handle.c
+++ b/src/messenger/messenger_api_handle.c
@@ -98,7 +98,7 @@ destroy_handle (struct GNUNET_MESSENGER_Handle *handle)
clear_contact_store(get_handle_contact_store(handle));
- GNUNET_free(handle->name);
+ GNUNET_free(handle);
}
void
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -fixes two memory leaks,
gnunet <=