uaf
authorChristian Grothoff <christian@grothoff.org>
Mon, 18 Jul 2011 07:01:56 +0000 (07:01 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 18 Jul 2011 07:01:56 +0000 (07:01 +0000)
src/transport/test_transport_api_reliability.c

index 182354830ef6a10d92ea0b09601624f74f99b091..32697e52c4537f9c48197ffdf6c199887b27162b 100644 (file)
@@ -906,8 +906,8 @@ main (int argc, char *argv[])
     }
   if (p2.servicehome != NULL)
     {   
-      GNUNET_free_non_null (p2.servicehome);
       GNUNET_DISK_directory_remove (p2.servicehome);
+      GNUNET_free (p2.servicehome);
     }
   return ret;
 }