aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/input/ipaccess.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c
index 96916cfb4..d8523b543 100644
--- a/openbsc/src/input/ipaccess.c
+++ b/openbsc/src/input/ipaccess.c
@@ -403,10 +403,12 @@ static int ipaccess_drop(struct e1inp_ts *ts, struct osmo_fd *bfd)
}
/* error case */
- LOGP(DINP, LOGL_ERROR, "Failed to find a signalling link for ts: %p\n", ts);
+ LOGP(DINP, LOGL_ERROR,
+ "Failed to find a signalling link for ts: %p %p\n", ts);
osmo_fd_unregister(bfd);
close(bfd->fd);
bfd->fd = -1;
+ talloc_free(ts->line);
return -1;
}