Harinder Singh Dhanoa commented on a discussion on misc/bin2c/rtems-bin2c.c: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/58#note_121605 > exit(1); > } > } > + > + /* Read license header if specified */ > + char *license_header = NULL; > + if (licensefile) { > + license_header = read_license_file(licensefile); > + } else if (usebsdlicense) { > + license_header = strdup( okay, I will revert it to `strdup`. I did that to ensure the `license_header` can be safely freed without additional conditional checks. -- View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/58#note_121605 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs