Searched refs:allocated_buf (Results 1 – 1 of 1) sorted by relevance
42 char* allocated_buf = NULL; in getcwd() local50 buf = allocated_buf = static_cast<char*>(malloc(allocated_size)); in getcwd()61 free(allocated_buf); in getcwd()67 if (allocated_buf != NULL) { in getcwd()69 buf = strdup(allocated_buf); in getcwd()70 free(allocated_buf); in getcwd()72 buf = allocated_buf; in getcwd()