diff options
-rw-r--r-- | src/common/bts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c index 86140ba0..93fb4007 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -219,6 +219,10 @@ static int gsm_bts_talloc_destructor(struct gsm_bts *bts) osmo_fsm_inst_free(bts->mo.fi); bts->mo.fi = NULL; } + if (bts->shutdown_fi) { + osmo_fsm_inst_free(bts->shutdown_fi); + bts->shutdown_fi = NULL; + } return 0; } |