rem: iter->prefix = strdup(prefix); if (iter->prefix == NULL) { free(iter);
add: iterator->prefix = strdup(prefix); if (iterator->prefix == NULL) { free(iterator);
context: open_module_list(const char *prefix){	module_iterator *iter;	SHOW_FLOW(3, "prefix: %s\n", prefix);	iter = (module_iterator *)malloc(sizeof( module_iterator));	if (!iter)		return NULL;	iter->prefix = strdup(prefix);	if (iter->prefix == NULL) {		free(iter);		return NULL;	}	iter->base_path_id = -1;	iter->base_dir = iter->cur_dir = NULL;	iter->err = B_NO_ERROR;	iter->module_pos = 0;	return (void *)iter;}