From: Nathan S. Evans Date: Fri, 19 Nov 2010 12:31:00 +0000 (+0000) Subject: memory leak X-Git-Tag: initial-import-from-subversion-38251~19676 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0e239a0257a5cea29cc58217982f6f78c6ad2fa1;p=oweals%2Fgnunet.git memory leak --- 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,