diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-19 13:00:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-19 13:00:29 +0000 |
commit | 6fad08b4421440444a1c71ea7a5b80ef87066a01 (patch) | |
tree | c27201afe16cab25e0c9679812f58882481ba31a /src | |
parent | 438477f091548c33f67fd609f30768151bf97aa3 (diff) | |
download | gnunet-6fad08b4421440444a1c71ea7a5b80ef87066a01.tar.gz gnunet-6fad08b4421440444a1c71ea7a5b80ef87066a01.zip |
free
Diffstat (limited to 'src')
-rw-r--r-- | src/testing/testing_peergroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing_peergroup.c b/src/testing/testing_peergroup.c index 25a04df07..81294a6e3 100644 --- a/src/testing/testing_peergroup.c +++ b/src/testing/testing_peergroup.c | |||
@@ -652,7 +652,8 @@ GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg, | |||
652 | GNUNET_DISK_PERM_USER_WRITE); | 652 | GNUNET_DISK_PERM_USER_WRITE); |
653 | if (topo_ctx->file == NULL) | 653 | if (topo_ctx->file == NULL) |
654 | { | 654 | { |
655 | notify_cb(notify_cb_cls, "Failed to open output file!"); | 655 | notify_cb (notify_cb_cls, "Failed to open output file!"); |
656 | GNUNET_free (topo_ctx); | ||
656 | return; | 657 | return; |
657 | } | 658 | } |
658 | 659 | ||
@@ -661,7 +662,6 @@ GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg, | |||
661 | GNUNET_DISK_file_write(topo_ctx->file, temp_str, temp); | 662 | GNUNET_DISK_file_write(topo_ctx->file, temp_str, temp); |
662 | GNUNET_free_non_null(temp_str); | 663 | GNUNET_free_non_null(temp_str); |
663 | GNUNET_TESTING_get_topology(pg, &write_topology_cb, topo_ctx); | 664 | GNUNET_TESTING_get_topology(pg, &write_topology_cb, topo_ctx); |
664 | return; | ||
665 | } | 665 | } |
666 | 666 | ||
667 | /** | 667 | /** |