From 0e239a0257a5cea29cc58217982f6f78c6ad2fa1 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Fri, 19 Nov 2010 12:31:00 +0000 Subject: [PATCH] memory leak --- src/dht/plugin_dhtlog_mysql_dump_load.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/dht/plugin_dhtlog_mysql_dump_load.c b/src/dht/plugin_dhtlog_mysql_dump_load.c index 97c4f3e79..6fa6ab2c7 100644 --- a/src/dht/plugin_dhtlog_mysql_dump_load.c +++ b/src/dht/plugin_dhtlog_mysql_dump_load.c @@ -581,6 +581,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls) return NULL; } + GNUNET_free(outfile_name); GNUNET_asprintf (&outfile_name, "%s%s-%d", outfile_path, @@ -613,6 +614,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls) return NULL; } + GNUNET_free(outfile_name); GNUNET_asprintf (&outfile_name, "%s%s-%d", outfile_path, @@ -646,6 +648,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls) return NULL; } + GNUNET_free(outfile_name); GNUNET_asprintf (&outfile_name, "%s%s-%d", outfile_path, @@ -679,6 +682,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls) return NULL; } + GNUNET_free(outfile_name); GNUNET_asprintf (&outfile_name, "%s%s-%d", outfile_path, @@ -712,6 +716,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls) return NULL; } + GNUNET_free(outfile_name); GNUNET_asprintf (&outfile_name, "%s%s-%d", outfile_path, @@ -744,6 +749,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls) return NULL; } + GNUNET_free(outfile_name); GNUNET_asprintf (&outfile_name, "%s%s-%d", outfile_path, @@ -776,6 +782,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls) return NULL; } + GNUNET_free(outfile_name); GNUNET_asprintf (&outfile_name, "%s%s-%d", outfile_path, -- 2.25.1