diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-20 18:57:22 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-22 12:57:02 +0200 |
commit | 03c74baa83f4f3f699fac49affca9903dccb33f1 (patch) | |
tree | e61b6da5050a0503bbc6362600fa447a11e6d173 /src/osmo-bts-trx | |
parent | 3c56335094c42fb06f4628070b7e6aad3706e5b5 (diff) |
trx_if: Set pointer to null after freeing it
Change-Id: Icd93c9968095a8801aafe9440806cb5786320cbc
Diffstat (limited to 'src/osmo-bts-trx')
-rw-r--r-- | src/osmo-bts-trx/trx_if.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c index 968c335e..bfeb2eca 100644 --- a/src/osmo-bts-trx/trx_if.c +++ b/src/osmo-bts-trx/trx_if.c @@ -1199,6 +1199,7 @@ void trx_if_flush(struct trx_l1h *l1h) talloc_free(tcm); } talloc_free(l1h->last_acked); + l1h->last_acked = NULL; } /*! close the TRX for given handle (data + control socket) */ |