Lines Matching refs:malloc
37 profile = malloc(sizeof(struct _profile_t));
97 files = malloc ((size+1) * sizeof(*files));
125 filenames = (profile_filespec_t*) malloc((n_entries+1) * sizeof(char*));
134 filenames[i] = (char*) malloc(ent_len + 1);
136 /* if malloc fails, free the ones that worked */
373 flist = (profile_filespec_t *) malloc(sizeof(profile_filespec_t) * (fcount + 1));
380 flist[i] = (char *) malloc((size_t) (tmp+1));
427 if (actual_section = (char **)malloc((max_i + 2) * sizeof(char *))) {
473 if (actual_section = (char **)malloc((max_i + 2) * sizeof(char *))) {
488 *options[i].value = malloc(strlen(value)+1);