aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/perf_plugin_datastore.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-21 17:37:19 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-21 17:37:19 +0000
commitd110d0d21a652e30ec76f3a8f590f7cb65093075 (patch)
tree87648fe235efa50f8938f0153195c5a33288052a /src/datastore/perf_plugin_datastore.c
parente347112cbb1582b8680095f549fc9c59ec67d9f4 (diff)
-fix leaks
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r--src/datastore/perf_plugin_datastore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c
index 56e2b871c9..322ca26b23 100644
--- a/src/datastore/perf_plugin_datastore.c
+++ b/src/datastore/perf_plugin_datastore.c
@@ -421,6 +421,8 @@ load_plugin (const struct GNUNET_CONFIGURATION_Handle *cfg)
if (NULL == (ret = GNUNET_PLUGIN_load (libname, &env)))
{
FPRINTF (stderr, "Failed to load plugin `%s'!\n", name);
+ GNUNET_free (name);
+ GNUNET_free (libname);
return NULL;
}
GNUNET_free (libname);