gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r12832 - in gnunet/src: fs util


From: gnunet
Subject: [GNUnet-SVN] r12832 - in gnunet/src: fs util
Date: Fri, 3 Sep 2010 23:49:31 +0200

Author: grothoff
Date: 2010-09-03 23:49:31 +0200 (Fri, 03 Sep 2010)
New Revision: 12832

Modified:
   gnunet/src/fs/test_fs_uri.c
   gnunet/src/util/test_connection_transmit_cancel.c
   gnunet/src/util/test_container_meta_data.c
Log:
nitpicks

Modified: gnunet/src/fs/test_fs_uri.c
===================================================================
--- gnunet/src/fs/test_fs_uri.c 2010-09-03 21:34:06 UTC (rev 12831)
+++ gnunet/src/fs/test_fs_uri.c 2010-09-03 21:49:31 UTC (rev 12832)
@@ -140,8 +140,10 @@
       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);

Modified: gnunet/src/util/test_connection_transmit_cancel.c
===================================================================
--- gnunet/src/util/test_connection_transmit_cancel.c   2010-09-03 21:34:06 UTC 
(rev 12831)
+++ gnunet/src/util/test_connection_transmit_cancel.c   2010-09-03 21:49:31 UTC 
(rev 12832)
@@ -57,6 +57,7 @@
                                                 12,
                                                 GNUNET_TIME_UNIT_MINUTES,
                                                 &not_run, cls);
+  GNUNET_assert (NULL != th);
   GNUNET_CONNECTION_notify_transmit_ready_cancel (th);
   GNUNET_CONNECTION_destroy (csock, GNUNET_YES);
   *ok = 0;

Modified: gnunet/src/util/test_container_meta_data.c
===================================================================
--- gnunet/src/util/test_container_meta_data.c  2010-09-03 21:34:06 UTC (rev 
12831)
+++ gnunet/src/util/test_container_meta_data.c  2010-09-03 21:49:31 UTC (rev 
12832)
@@ -333,9 +333,11 @@
   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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]