-
- The malloc-free pair could be avoided without difficulty, but it seemed like premature optimization. - The libknot functions make error handling a bit difficult (zero is theoretically valid and doesn't show error type), but writing this properly without libknot would need 10-20 additional lines of code and the risk of encountering errors in this function seems very low anyway.
- The malloc-free pair could be avoided without difficulty, but it seemed like premature optimization. - The libknot functions make error handling a bit difficult (zero is theoretically valid and doesn't show error type), but writing this properly without libknot would need 10-20 additional lines of code and the risk of encountering errors in this function seems very low anyway.
Loading