Lines Matching defs:tmpPath
225 char *tmpPath;
280 tmpPath = isc_mem_allocate(ns_g_mctx , pathsize * sizeof(char));
281 if (tmpPath == NULL) {
295 strcpy(tmpPath, cd->basedir);
299 result = create_path_helper(tmpPath, zone, cd);
326 strcat(tmpPath, cd->xfrdir);
327 strncat(tmpPath, (char *) &cd->pathsep, 1);
328 strcat(tmpPath, client);
330 strcat(tmpPath, cd->datadir);
335 strncat(tmpPath, (char *) &cd->pathsep, 1);
336 if ((result = create_path_helper(tmpPath, host,
342 *path = tmpPath;
350 /* free tmpPath memory */
351 if (tmpPath != NULL && result != ISC_R_SUCCESS)
352 isc_mem_free(ns_g_mctx, tmpPath);
354 /* free tmpPath memory */