Attention is currently required from: laforge. pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/29530 )
Change subject: Allocate struct osmux_in_handle through new libosmo-netif APIs ......................................................................
Patch Set 1:
(1 comment)
File src/common/osmux.c:
https://gerrit.osmocom.org/c/osmo-bts/+/29530/comment/d20ad901_8a96fc80 PS1, Line 141: TALLOC_FREE
why uppercase? Don't recall having seen this before... […]
it's a standard talloc API (define) and already used in several places. It calls talloc_free and sets the pointer to NULL. I know the h structure is being freed immediately afterwards, but I prefer setting this as NULL in order to avoid weird accesses in the future in case there's some talloc destructor set in the parent "h" structure.