Searched refs:allocated_buf (Results 1 – 1 of 1) sorted by relevance
45 char* allocated_buf = NULL; in getcwd() local53 buf = allocated_buf = static_cast<char*>(malloc(allocated_size)); in getcwd()64 free(allocated_buf); in getcwd()70 if (allocated_buf != NULL) { in getcwd()72 buf = strdup(allocated_buf); in getcwd()73 free(allocated_buf); in getcwd()75 buf = allocated_buf; in getcwd()