From 966636f39f17e5d42e7918a2055d400c791671b4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 26 Jun 2009 19:39:35 +0200 Subject: 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 --- openbsc/src/input/ipaccess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/input/ipaccess.c') diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c index b76629e5e..cee53cc13 100644 --- a/openbsc/src/input/ipaccess.c +++ b/openbsc/src/input/ipaccess.c @@ -244,7 +244,7 @@ static int handle_ts1_read(struct bsc_fd *bfd) unsigned int ts_nr = bfd->priv_nr; struct e1inp_ts *e1i_ts = &line->ts[ts_nr-1]; struct e1inp_sign_link *link; - struct msgb *msg = msgb_alloc(TS1_ALLOC_SIZE); + struct msgb *msg = msgb_alloc(TS1_ALLOC_SIZE, "Abis/IP"); struct ipaccess_head *hh; int ret; -- cgit v1.2.3