diff options
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/chan_alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index dda5ff20d..b061fc798 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c @@ -272,6 +272,7 @@ struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type) if (lchan->conn) { LOGP(DRLL, LOGL_ERROR, "lchan->conn should be NULL.\n"); subscr_con_free(lchan->conn); + lchan->conn = NULL; } } else { struct challoc_signal_data sig; |