return -1;
}
result = ustcmd_send_cmd("list_markers", pid, &big_str);
- if (result != 1) {
- return -1;
- }
-
if (result != 1) {
ERR("error while getting markers list");
return -1;
tmp_cmsf = (struct marker_status *) malloc(sizeof(struct marker_status) *
(ustcmd_count_nl(big_str) + 1));
if (tmp_cmsf == NULL) {
+ ERR("Failed to allocate CMSF array");
return -1;
}