From: Matthias Wachs Date: Fri, 16 Apr 2010 16:12:14 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~22126 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=32d7de6a273bf581842e8580ee80fab27cd01859;p=oweals%2Fgnunet.git --- diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c index 8b3f9c4bf..6af0cf4b8 100644 --- a/src/util/test_resolver_api.c +++ b/src/util/test_resolver_api.c @@ -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);