362: #ifdef T2EX
363: free(tbuf);
364: #endif
399: #ifdef T2EX
400: free(tbuf);
401: #endif
445: #ifdef T2EX
446: free(tbuf);
447: #endif
477: #ifdef T2EX
478: free(tbuf);
479: #endif
533: #ifdef T2EX
534: free(tbuf);
535: #endif
545: #ifdef T2EX
546: free(tbuf);
547: #endif
1035: if (len > (sizeof(hostbuf) - ALIGNBYTES)) {
1036: free(tmpbuf);
1037: #ifndef T2EX
1043: ptr = memcpy((void *)ALIGN(hostbuf), tmpbuf, len);
1044: free(tmpbuf);
1045:
1234: if (res == NULL) {
1235: free(buf);
1236: return NS_NOTFOUND;
1239: if (n < 0) {
1240: free(buf);
1241: dprintf("res_nsearch failed (%d)\n", res, n);
1245: hp = getanswer(buf, n, name, type, res);
1246: free(buf);
1247: __res_put_state(res);
1327: if (res == NULL) {
1328: free(buf);
1329: return NS_NOTFOUND;
1332: if (n < 0) {
1333: free(buf);
1334: dprintf("res_nquery failed (%d)\n", res, n);
1338: hp = getanswer(buf, n, qbuf, T_PTR, res);
1339: free(buf);
1340: if (hp == NULL) {
1518: if (__ypcurrent)
1519: free(__ypcurrent);
1520: __ypcurrent = NULL;
1562: if (__ypcurrent)
1563: free(__ypcurrent);
1564: __ypcurrent = NULL;