int i, count;
fstring name;
size_t namelen;
+ TALLOC_CTX *frame;
#if HAVE_PTHREAD
pthread_mutex_lock(&wins_nss_mutex);
#endif
+ frame = talloc_stackframe();
+
memset(he, '\0', sizeof(*he));
fstrcpy(name, hostname);
out:
+ TALLOC_FREE(frame);
+
#if HAVE_PTHREAD
pthread_mutex_unlock(&wins_nss_mutex);
#endif