[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34278 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34278 - gnunet/src/cadet |
Date: |
Fri, 5 Sep 2014 15:21:24 +0200 |
Author: bartpolot
Date: 2014-09-05 15:21:24 +0200 (Fri, 05 Sep 2014)
New Revision: 34278
Modified:
gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- free memory on error, coverity #13058
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2014-09-05 13:21:12 UTC
(rev 34277)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2014-09-05 13:21:24 UTC
(rev 34278)
@@ -1660,6 +1660,7 @@
size, &own_pos);
if (NULL == path)
return GNUNET_OK;
+
if (0 == own_pos)
{
GNUNET_break_op (0);
@@ -1675,6 +1676,7 @@
{
/* If we are destination, why did the creation fail? */
GNUNET_break (0);
+ path_destroy (path);
return GNUNET_OK;
}
send_broken_unknown (cid, &my_full_id,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34278 - gnunet/src/cadet,
gnunet <=