Although it works in practice it is UB, and might break after a future compiler update. Sponsored by: The FreeBSD Foundation
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/netlink/route/iface.c | ||
---|---|---|
464 | free(NULL) is fine of course, but I think including it in the if body is more clear |
Comment Actions
Although that said I think we ought to include either D38927 or 055776c84a41bb88c6ccd67615ea172864f6804c in 13.2.