From: Christian Grothoff Date: Fri, 3 Sep 2010 21:49:31 +0000 (+0000) Subject: nitpicks X-Git-Tag: initial-import-from-subversion-38251~20457 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7d7f1251cc7c798db2d36787ed9ce69ca9279635;p=oweals%2Fgnunet.git nitpicks --- 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 () GNUNET_break (0); GNUNET_FS_uri_destroy (uri); GNUNET_CONFIGURATION_destroy (cfg); + GNUNET_free (emsg); return 1; } + GNUNET_assert (NULL == emsg); if (GNUNET_YES != GNUNET_FS_uri_test_equal (uri, uri2)) { 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, 12, GNUNET_TIME_UNIT_MINUTES, ¬_run, cls); + GNUNET_assert (NULL != th); GNUNET_CONNECTION_notify_transmit_ready_cancel (th); GNUNET_CONNECTION_destroy (csock, GNUNET_YES); *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() if (str[0] != 'T') { GNUNET_CONTAINER_meta_data_destroy(meta2); + GNUNET_free (str); ABORT(meta); } - + GNUNET_free (str); + //check meta_data_get_thumbnail if (GNUNET_CONTAINER_meta_data_get_thumbnail(meta, &thumb) != 0)