[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25342 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25342 - gnunet/src/util |
Date: |
Mon, 10 Dec 2012 13:12:56 +0100 |
Author: wachs
Date: 2012-12-10 13:12:56 +0100 (Mon, 10 Dec 2012)
New Revision: 25342
Modified:
gnunet/src/util/configuration.c
gnunet/src/util/plugin.c
Log:
mem leak
Modified: gnunet/src/util/configuration.c
===================================================================
--- gnunet/src/util/configuration.c 2012-12-10 12:07:47 UTC (rev 25341)
+++ gnunet/src/util/configuration.c 2012-12-10 12:12:56 UTC (rev 25342)
@@ -283,6 +283,7 @@
}
LOG (GNUNET_ERROR_TYPE_DEBUG, "Config value %s=\"%s\"\n", tag, value);
GNUNET_CONFIGURATION_set_value_string (cfg, section, tag, &value[i]);
+ GNUNET_free (tag);
continue;
}
/* parse error */
Modified: gnunet/src/util/plugin.c
===================================================================
--- gnunet/src/util/plugin.c 2012-12-10 12:07:47 UTC (rev 25341)
+++ gnunet/src/util/plugin.c 2012-12-10 12:12:56 UTC (rev 25342)
@@ -272,12 +272,12 @@
plugins = pos->next;
else
prev->next = pos->next;
- lt_dlclose (pos->handle);
+ /* lt_dlclose (pos->handle); */
GNUNET_free (pos->name);
GNUNET_free (pos);
if (plugins == NULL)
{
- plugin_fini ();
+ //plugin_fini ();
initialized = GNUNET_NO;
}
return ret;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25342 - gnunet/src/util,
gnunet <=