char *val, *p;
int p_count;
disk_partition_t *parts;
- char *guid_str;
int errno = 0;
uint64_t size_ll, start_ll;
}
}
- *str_disk_guid = guid_str;
*parts_count = p_count;
*partitions = parts;
free(str);
return 0;
err:
+ free(*str_disk_guid);
free(parts);
-free_guid:
- free(guid_str);
-free_str:
free(str);
*str_disk_guid = NULL;