aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/e1_input.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-06-26 19:39:35 +0200
committerHarald Welte <laforge@gnumonks.org>2009-06-26 19:39:35 +0200
commit966636f39f17e5d42e7918a2055d400c791671b4 (patch)
treef7bc3c7ac76e2c63ad4a1f5190ed218ab53c2c6b /openbsc/src/e1_input.c
parentf16571635a9d81893cb7bcc3d12dbf6639f3b3df (diff)
use named variant when allocating msgb's
when we generate a talloc report (SIGUSR1), we can now see which system allocated a given msgb, this helps memory leak debugging
Diffstat (limited to 'openbsc/src/e1_input.c')
-rw-r--r--openbsc/src/e1_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/e1_input.c b/openbsc/src/e1_input.c
index 84dde9047..9de6b0141 100644
--- a/openbsc/src/e1_input.c
+++ b/openbsc/src/e1_input.c
@@ -458,7 +458,7 @@ struct msgb *e1inp_tx_ts(struct e1inp_ts *e1i_ts,
}
break;
case E1INP_TS_TYPE_TRAU:
- msg = msgb_alloc(TSX_ALLOC_SIZE);
+ msg = msgb_alloc(TSX_ALLOC_SIZE, "TRAU_TX");
if (!msg)
return NULL;
len = subchan_mux_out(&e1i_ts->trau.mux, msg->data, 40);