summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsm/lapd_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c
index f351308d..9dbdfcf9 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -327,6 +327,7 @@ void lapd_dl_exit(struct lapd_datalink *dl)
lapd_dl_reset(dl);
/* free history buffer list */
talloc_free(dl->tx_hist);
+ dl->tx_hist = NULL;
}
/*! \brief Set the \ref lapdm_mode of a LAPDm entity */