aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-11-19 12:31:00 +0000
committerNathan S. Evans <evans@in.tum.de>2010-11-19 12:31:00 +0000
commit0e239a0257a5cea29cc58217982f6f78c6ad2fa1 (patch)
treec5f3c764d3a421d388f6d58730aa8beb9b9a2d11 /src/dht
parent57690b59695e350908d1895dbf522df5c669c986 (diff)
downloadgnunet-0e239a0257a5cea29cc58217982f6f78c6ad2fa1.tar.gz
gnunet-0e239a0257a5cea29cc58217982f6f78c6ad2fa1.zip
memory leak
Diffstat (limited to 'src/dht')
-rw-r--r--src/dht/plugin_dhtlog_mysql_dump_load.c7
1 files changed, 7 insertions, 0 deletions
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)
581 return NULL; 581 return NULL;
582 } 582 }
583 583
584 GNUNET_free(outfile_name);
584 GNUNET_asprintf (&outfile_name, 585 GNUNET_asprintf (&outfile_name,
585 "%s%s-%d", 586 "%s%s-%d",
586 outfile_path, 587 outfile_path,
@@ -613,6 +614,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls)
613 return NULL; 614 return NULL;
614 } 615 }
615 616
617 GNUNET_free(outfile_name);
616 GNUNET_asprintf (&outfile_name, 618 GNUNET_asprintf (&outfile_name,
617 "%s%s-%d", 619 "%s%s-%d",
618 outfile_path, 620 outfile_path,
@@ -646,6 +648,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls)
646 return NULL; 648 return NULL;
647 } 649 }
648 650
651 GNUNET_free(outfile_name);
649 GNUNET_asprintf (&outfile_name, 652 GNUNET_asprintf (&outfile_name,
650 "%s%s-%d", 653 "%s%s-%d",
651 outfile_path, 654 outfile_path,
@@ -679,6 +682,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls)
679 return NULL; 682 return NULL;
680 } 683 }
681 684
685 GNUNET_free(outfile_name);
682 GNUNET_asprintf (&outfile_name, 686 GNUNET_asprintf (&outfile_name,
683 "%s%s-%d", 687 "%s%s-%d",
684 outfile_path, 688 outfile_path,
@@ -712,6 +716,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls)
712 return NULL; 716 return NULL;
713 } 717 }
714 718
719 GNUNET_free(outfile_name);
715 GNUNET_asprintf (&outfile_name, 720 GNUNET_asprintf (&outfile_name,
716 "%s%s-%d", 721 "%s%s-%d",
717 outfile_path, 722 outfile_path,
@@ -744,6 +749,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls)
744 return NULL; 749 return NULL;
745 } 750 }
746 751
752 GNUNET_free(outfile_name);
747 GNUNET_asprintf (&outfile_name, 753 GNUNET_asprintf (&outfile_name,
748 "%s%s-%d", 754 "%s%s-%d",
749 outfile_path, 755 outfile_path,
@@ -776,6 +782,7 @@ libgnunet_plugin_dhtlog_mysql_dump_load_init (void * cls)
776 return NULL; 782 return NULL;
777 } 783 }
778 784
785 GNUNET_free(outfile_name);
779 GNUNET_asprintf (&outfile_name, 786 GNUNET_asprintf (&outfile_name,
780 "%s%s-%d", 787 "%s%s-%d",
781 outfile_path, 788 outfile_path,