New commits:
commit b76b52c97bb69a0fdfcef5b3a35d514274b7d2a9
Author: Andrew Cagney <[email protected]>
Date: Tue Mar 7 14:11:57 2023 -0500
refcnt: trim #include list
commit 506005f70f540e44766bfe875bd9117b7a18fbfd
Author: Andrew Cagney <[email protected]>
Date: Tue Mar 7 10:50:59 2023 -0500
refcnt: revamp delref_where()
Instead of a callback, return the pointer when it is the last ref
for instance:
del_foo(struct foo **fp)
{
struct foo *f = delref_where(fp, logger, HERE);
if (f != NULL) {
pfree(f);
}
}
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit