equal
deleted
inserted
replaced
430 } |
430 } |
431 |
431 |
432 if (size) { |
432 if (size) { |
433 req->data = malloc(size); |
433 req->data = malloc(size); |
434 if (!req->data) { |
434 if (!req->data) { |
435 fprintf(stderr, "Failed to allocate %u bytes of SDO data" |
435 fprintf(stderr, "Failed to allocate %zu bytes of SDO data" |
436 " memory.\n", size); |
436 " memory.\n", size); |
437 free(req); |
437 free(req); |
438 return 0; |
438 return 0; |
439 } |
439 } |
440 } else { |
440 } else { |
499 } |
499 } |
500 |
500 |
501 if (size) { |
501 if (size) { |
502 voe->data = malloc(size); |
502 voe->data = malloc(size); |
503 if (!voe->data) { |
503 if (!voe->data) { |
504 fprintf(stderr, "Failed to allocate %u bytes of VoE data" |
504 fprintf(stderr, "Failed to allocate %zu bytes of VoE data" |
505 " memory.\n", size); |
505 " memory.\n", size); |
506 free(voe); |
506 free(voe); |
507 return 0; |
507 return 0; |
508 } |
508 } |
509 } else { |
509 } else { |