aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_gnunet_service_fs_migration.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-09-07 08:43:47 +0000
committerChristian Grothoff <christian@grothoff.org>2010-09-07 08:43:47 +0000
commit78424fb78bf9f9ca4838d8c021adb17da9028ee6 (patch)
tree289d81b79a051ee20e9d64f014bf6ec2fb87f6c6 /src/fs/test_gnunet_service_fs_migration.c
parenta310b75c12232580e1c389667308a0e309fa83d3 (diff)
downloadgnunet-78424fb78bf9f9ca4838d8c021adb17da9028ee6.tar.gz
gnunet-78424fb78bf9f9ca4838d8c021adb17da9028ee6.zip
leak
Diffstat (limited to 'src/fs/test_gnunet_service_fs_migration.c')
-rw-r--r--src/fs/test_gnunet_service_fs_migration.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c
index 67417d81c..89750b368 100644
--- a/src/fs/test_gnunet_service_fs_migration.c
+++ b/src/fs/test_gnunet_service_fs_migration.c
@@ -101,6 +101,7 @@ do_download (void *cls,
101 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 101 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
102 "Failed to stop source daemon: %s\n", 102 "Failed to stop source daemon: %s\n",
103 emsg); 103 emsg);
104 GNUNET_FS_uri_destroy (uri);
104 ok = 1; 105 ok = 1;
105 return; 106 return;
106 } 107 }
@@ -114,6 +115,7 @@ do_download (void *cls,
114 1, SEED, uri, 115 1, SEED, uri,
115 VERBOSE, 116 VERBOSE,
116 &do_stop, NULL); 117 &do_stop, NULL);
118 GNUNET_FS_uri_destroy (uri);
117} 119}
118 120
119 121
@@ -152,10 +154,10 @@ do_wait (void *cls,
152 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 154 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
153 "Waiting to allow content to migrate\n"); 155 "Waiting to allow content to migrate\n");
154 d = GNUNET_FS_uri_dup (uri); 156 d = GNUNET_FS_uri_dup (uri);
155 GNUNET_SCHEDULER_add_delayed (sched, 157 (void) GNUNET_SCHEDULER_add_delayed (sched,
156 MIGRATION_DELAY, 158 MIGRATION_DELAY,
157 &stop_source_peer, 159 &stop_source_peer,
158 d); 160 d);
159} 161}
160 162
161 163