Changeset 1081 in MondoRescue for trunk/mondo/src/common/libmondo-fork.c
- Timestamp:
- Jan 28, 2007, 11:20:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/common/libmondo-fork.c
r1079 r1081 3 3 */ 4 4 #include "my-stuff.h" 5 #include "mr_mem.h" 5 6 #include "mondostructures.h" 6 7 #include "libmondo-fork.h" … … 79 80 assert_string_is_neither_NULL_nor_zerolength(isofile); 80 81 assert_string_is_neither_NULL_nor_zerolength(logstub); 81 if (!(midway_call = malloc(1200))) { 82 fatal_error("Cannot malloc midway_call"); 83 } 84 if (!(ultimate_call = malloc(1200))) { 85 fatal_error("Cannot malloc ultimate_call"); 86 } 87 if (!(tmp = malloc(1200))) { 88 fatal_error("Cannot malloc tmp"); 89 } 82 midway_call = mr_malloc(1200); 83 ultimate_call = mr_malloc(1200); 84 tmp = mr_malloc(1200); 90 85 91 86 mr_asprintf(&cd_number_str, "%d", cd_no); … … 350 345 log_msg(5, "Opening."); 351 346 bufcap = 256L * 1024L; 352 if (!(buf = malloc(bufcap))) { 353 fatal_error("Failed to malloc() buf"); 354 } 347 buf = mr_malloc(bufcap); 355 348 356 349 if (direction == 'w') {
Note:
See TracChangeset
for help on using the changeset viewer.