gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 01/02: -coverity: fix memleak


From: gnunet
Subject: [gnunet] 01/02: -coverity: fix memleak
Date: Sat, 15 May 2021 20:23:14 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 05dc002ec4f5396b5633fcf686cd4cd2d06ae776
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sat May 15 20:12:10 2021 +0200

    -coverity: fix memleak
---
 src/reclaim/pabc_helper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/reclaim/pabc_helper.c b/src/reclaim/pabc_helper.c
index 1b1dbea0f..e58b8a4f7 100644
--- a/src/reclaim/pabc_helper.c
+++ b/src/reclaim/pabc_helper.c
@@ -96,6 +96,7 @@ read_file (char const *const filename, char **buffer)
 
 fail:
   GNUNET_DISK_file_close (fh);
+  GNUNET_free (*buffer);
   return GNUNET_SYSERR;
 }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]