aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-09-03 21:49:31 +0000
committerChristian Grothoff <christian@grothoff.org>2010-09-03 21:49:31 +0000
commit7d7f1251cc7c798db2d36787ed9ce69ca9279635 (patch)
tree4892b2bdfd4ffa58075038431f9fb1c0f689ef10 /src
parent71d4af85f961b0e34566db32cd033a3c654a235b (diff)
downloadgnunet-7d7f1251cc7c798db2d36787ed9ce69ca9279635.tar.gz
gnunet-7d7f1251cc7c798db2d36787ed9ce69ca9279635.zip
nitpicks
Diffstat (limited to 'src')
-rw-r--r--src/fs/test_fs_uri.c2
-rw-r--r--src/util/test_connection_transmit_cancel.c1
-rw-r--r--src/util/test_container_meta_data.c4
3 files changed, 6 insertions, 1 deletions
diff --git a/src/fs/test_fs_uri.c b/src/fs/test_fs_uri.c
index ba694db6d..0894b8b93 100644
--- a/src/fs/test_fs_uri.c
+++ b/src/fs/test_fs_uri.c
@@ -140,8 +140,10 @@ testLocation ()
140 GNUNET_break (0); 140 GNUNET_break (0);
141 GNUNET_FS_uri_destroy (uri); 141 GNUNET_FS_uri_destroy (uri);
142 GNUNET_CONFIGURATION_destroy (cfg); 142 GNUNET_CONFIGURATION_destroy (cfg);
143 GNUNET_free (emsg);
143 return 1; 144 return 1;
144 } 145 }
146 GNUNET_assert (NULL == emsg);
145 if (GNUNET_YES != GNUNET_FS_uri_test_equal (uri, uri2)) 147 if (GNUNET_YES != GNUNET_FS_uri_test_equal (uri, uri2))
146 { 148 {
147 GNUNET_break (0); 149 GNUNET_break (0);
diff --git a/src/util/test_connection_transmit_cancel.c b/src/util/test_connection_transmit_cancel.c
index 37a513e0f..d4456b00d 100644
--- a/src/util/test_connection_transmit_cancel.c
+++ b/src/util/test_connection_transmit_cancel.c
@@ -57,6 +57,7 @@ task_transmit_cancel (void *cls,
57 12, 57 12,
58 GNUNET_TIME_UNIT_MINUTES, 58 GNUNET_TIME_UNIT_MINUTES,
59 &not_run, cls); 59 &not_run, cls);
60 GNUNET_assert (NULL != th);
60 GNUNET_CONNECTION_notify_transmit_ready_cancel (th); 61 GNUNET_CONNECTION_notify_transmit_ready_cancel (th);
61 GNUNET_CONNECTION_destroy (csock, GNUNET_YES); 62 GNUNET_CONNECTION_destroy (csock, GNUNET_YES);
62 *ok = 0; 63 *ok = 0;
diff --git a/src/util/test_container_meta_data.c b/src/util/test_container_meta_data.c
index 1514fcf5d..05047d8b3 100644
--- a/src/util/test_container_meta_data.c
+++ b/src/util/test_container_meta_data.c
@@ -333,9 +333,11 @@ check()
333 if (str[0] != 'T') 333 if (str[0] != 'T')
334 { 334 {
335 GNUNET_CONTAINER_meta_data_destroy(meta2); 335 GNUNET_CONTAINER_meta_data_destroy(meta2);
336 GNUNET_free (str);
336 ABORT(meta); 337 ABORT(meta);
337 } 338 }
338 339 GNUNET_free (str);
340
339 //check meta_data_get_thumbnail 341 //check meta_data_get_thumbnail
340 342
341 if (GNUNET_CONTAINER_meta_data_get_thumbnail(meta, &thumb) != 0) 343 if (GNUNET_CONTAINER_meta_data_get_thumbnail(meta, &thumb) != 0)