(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 16 Apr 2010 16:12:14 +0000 (16:12 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 16 Apr 2010 16:12:14 +0000 (16:12 +0000)
src/util/test_resolver_api.c

index 8b3f9c4bf97948bbae890b8f44e33e22b50ae19a..6af0cf4b8ec4cd4167aff5d1cbb458150e5bb0fd 100644 (file)
@@ -235,7 +235,6 @@ run(void *cls, struct GNUNET_SCHEDULER_Handle *sched, char * const *args,
   /*
    * Looking up our own hostname
    */
-  own_hostname = GNUNET_malloc(GNUNET_OS_get_hostname_max_length() + 1);
   own_hostname = GNUNET_RESOLVER_local_hostname_get();
   check_local_hostname( NULL, own_hostname);
   GNUNET_free (own_hostname);