gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: - fix coverity cid 467139


From: gnunet
Subject: [gnunet] branch master updated: - fix coverity cid 467139
Date: Wed, 01 Nov 2023 12:05:53 +0100

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

t3sserakt pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c05259c0f - fix coverity cid 467139
c05259c0f is described below

commit c05259c0f15afe52c4db968564f81e48399a483f
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Wed Nov 1 12:05:43 2023 +0100

    - fix coverity cid 467139
---
 src/service/peerstore/peerstore_api.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/service/peerstore/peerstore_api.c 
b/src/service/peerstore/peerstore_api.c
index a64460ff0..188ab788b 100644
--- a/src/service/peerstore/peerstore_api.c
+++ b/src/service/peerstore/peerstore_api.c
@@ -1011,6 +1011,8 @@ watch_iterate (void *cls,
     wc->ic = NULL;
     if (NULL != wc->callback)
       wc->callback (wc->callback_cls, record, NULL);
+    if (NULL == wc->peer)
+      GNUNET_free_nz ((void *) peer);
     return;
   }
 

-- 
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]