Changeset 103130 in vbox
- Timestamp:
- Jan 31, 2024 8:37:41 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_idl.c
r99767 r103130 216 216 just_read = fread(buffer + offset, 1, buffer_size - offset, inputfile); 217 217 if (ferror(inputfile)) 218 { 219 free(buffer); 218 220 return NULL; 221 } 219 222 220 223 if (just_read < buffer_size - offset || just_read == 0) { … … 473 476 } 474 477 478 #ifndef VBOX 475 479 /* set this with a debugger to see exactly what libIDL sees */ 476 480 static FILE *tracefile = NULL; 481 #endif 477 482 478 483 static int … … 611 616 data->point = start + copy; 612 617 618 #ifndef VBOX 613 619 if (tracefile) 614 620 fwrite(cb_data->fill.buffer, copy, 1, tracefile); 621 #endif 615 622 616 623 return copy; … … 717 724 g_warning("Parse of %s failed", filename); 718 725 } 726 free(outname); 719 727 return 0; 720 728 } … … 762 770 if (!state.file) { 763 771 perror("error opening output file"); 772 free(outname); 764 773 return 0; 765 774 }
Note:
See TracChangeset
for help on using the changeset viewer.