[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17431 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17431 - gnunet/src/mesh |
Date: |
Wed, 12 Oct 2011 19:02:00 +0200 |
Author: bartpolot
Date: 2011-10-12 19:01:59 +0200 (Wed, 12 Oct 2011)
New Revision: 17431
Modified:
gnunet/src/mesh/gnunet-service-mesh.c
Log:
Fixes to various coverity errors
Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c 2011-10-12 16:22:01 UTC (rev
17430)
+++ gnunet/src/mesh/gnunet-service-mesh.c 2011-10-12 17:01:59 UTC (rev
17431)
@@ -1975,6 +1975,7 @@
{
if (j == (CORE_QUEUE_SIZE - 1))
{
+ GNUNET_free (info);
GNUNET_break (0);
return GNUNET_OK;
}
@@ -2143,6 +2144,7 @@
{
if (i == (CORE_QUEUE_SIZE - 1))
{
+ GNUNET_free (info);
GNUNET_break (0);
return GNUNET_OK;
}
@@ -2342,7 +2344,8 @@
static int
deregister_app (void *cls, const GNUNET_HashCode * key, void *value)
{
- GNUNET_CONTAINER_multihashmap_remove (applications, key, value);
+ GNUNET_break (GNUNET_YES ==
+ GNUNET_CONTAINER_multihashmap_remove (applications, key, value));
return GNUNET_OK;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17431 - gnunet/src/mesh,
gnunet <=