mirror of https://gerrit.osmocom.org/libosmocore
fsm: log tweak: upon free, say 'Freeing instance'
Logging 'Release' is a bit ambiguous. At first I tought a subscriber connection was being released, IMHO 'Freeing instance' better describes that we are freeing an osmo_fsm_inst. Change-Id: I5cf99707d2ba5620b2988f777fa39cc806ec0212
This commit is contained in:
parent
b6d58e8cc0
commit
7309e19358
|
@ -467,7 +467,7 @@ void _osmo_fsm_inst_term(struct osmo_fsm_inst *fi,
|
||||||
if (fi->fsm->cleanup)
|
if (fi->fsm->cleanup)
|
||||||
fi->fsm->cleanup(fi, cause);
|
fi->fsm->cleanup(fi, cause);
|
||||||
|
|
||||||
LOGPFSMSRC(fi, file, line, "Release\n");
|
LOGPFSMSRC(fi, file, line, "Freeing instance\n");
|
||||||
osmo_fsm_inst_free(fi);
|
osmo_fsm_inst_free(fi);
|
||||||
|
|
||||||
/* indicate our termination to the parent */
|
/* indicate our termination to the parent */
|
||||||
|
|
Loading…
Reference in New Issue