Lines Matching defs:tmpPath
220 char *tmpPath;
262 tmpPath = malloc(pathsize * sizeof(char));
263 if (tmpPath == NULL) {
276 strcpy(tmpPath, cd->basedir);
280 result = create_path_helper(tmpPath, zone, cd);
307 strcat(tmpPath, cd->xfrdir);
308 strncat(tmpPath, (char *) &cd->pathsep, 1);
309 strcat(tmpPath, client);
311 strcat(tmpPath, cd->datadir);
315 strncat(tmpPath, (char *) &cd->pathsep, 1);
316 result = create_path_helper(tmpPath, host, cd);
322 *path = tmpPath;
330 /* free tmpPath memory */
331 if (tmpPath != NULL && result != ISC_R_SUCCESS)
332 free(tmpPath);