gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r30657 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r30657 - gnunet/src/ats
Date: Mon, 11 Nov 2013 09:56:37 +0100

Author: wachs
Date: 2013-11-11 09:56:37 +0100 (Mon, 11 Nov 2013)
New Revision: 30657

Modified:
   gnunet/src/ats/libgnunet_plugin_ats_proportional.c
Log:
don't forget the house keeping: fixing memory leak


Modified: gnunet/src/ats/libgnunet_plugin_ats_proportional.c
===================================================================
--- gnunet/src/ats/libgnunet_plugin_ats_proportional.c  2013-11-10 23:38:21 UTC 
(rev 30656)
+++ gnunet/src/ats/libgnunet_plugin_ats_proportional.c  2013-11-11 08:56:37 UTC 
(rev 30657)
@@ -491,6 +491,7 @@
       next = cur->next;
       GNUNET_CONTAINER_DLL_remove(s->network_entries[c].head,
           s->network_entries[c].tail, cur);
+      GNUNET_free_non_null (cur->addr->solver_information);
       GNUNET_free(cur);
     }
     GNUNET_free(s->network_entries[c].stat_total);
@@ -1274,6 +1275,7 @@
       return;
     }
     GNUNET_CONTAINER_DLL_remove(net->head, net->tail, aw);
+    GNUNET_free_non_null (aw->addr->solver_information);
     GNUNET_free(aw);
   }
   else




reply via email to

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