]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
clean up shutdown and destructor
authorAlan T. DeKok <aland@freeradius.org>
Wed, 6 Aug 2025 14:59:08 +0000 (10:59 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 6 Aug 2025 17:41:08 +0000 (13:41 -0400)
commitd3cbe98f6994e36861aa4aee681e7bfc7d376e3e
treef0bee4b0037dec572cc9904bd9c56fb527e95c09
parentf8b0085d0aa28a4f586592949480d6ced55b2443
clean up shutdown and destructor

some shutdowns can fail, so the function needs to return an rcode.

the destructors should just call the shutdown, so the caller can
just talloc_free() things, and have it all work properly.

the shutdown doesn't need to reset the destructors, as the main
fr_bio_shutdown() will do that.
src/lib/bio/base.c
src/lib/bio/base.h
src/lib/bio/bio_priv.h
src/lib/bio/fd.c
src/lib/bio/fd_open.c
src/lib/bio/fd_priv.h
src/lib/bio/packet.c
src/lib/bio/packet.h
src/lib/bio/pipe.c
src/lib/bio/queue.c
src/lib/bio/retry.c