fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 18 Jul 2011 06:42:09 +0000 (06:42 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 18 Jul 2011 06:42:09 +0000 (06:42 +0000)
src/transport/test_transport_api_unreliability.c

index c2c7b96a87e153ff97fb2d77a49e576c7ca55fb0..768ced0dcdfd076c3105491242b5eda898141841 100644 (file)
@@ -882,8 +882,8 @@ check ()
     }
   if (p2.servicehome != NULL)
     {
+      GNUNET_DISK_directory_remove (p2.servicehome); 
       GNUNET_free(p2.servicehome);
-      GNUNET_DISK_directory_remove (p2.servicehome);
     }
   return ok;
 }