diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-03-01 20:30:32 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-03-01 20:30:32 +0100 |
commit | a8ddb08e05295b11ffe2270c6736ce2f9e62180a (patch) | |
tree | 48523495290d3eb44a5670a2acd0818bf1a066e1 /openbsc/src/gprs/gprs_sndcp.c | |
parent | c50543b18aad856c1be8acccb4980075d6eeef5a (diff) |
misc: Use msgb_free for freeing the messages
Diffstat (limited to 'openbsc/src/gprs/gprs_sndcp.c')
-rw-r--r-- | openbsc/src/gprs/gprs_sndcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_sndcp.c b/openbsc/src/gprs/gprs_sndcp.c index 3e260abec..e422426a1 100644 --- a/openbsc/src/gprs/gprs_sndcp.c +++ b/openbsc/src/gprs/gprs_sndcp.c @@ -162,7 +162,7 @@ static int defrag_segments(struct gprs_sndcp_entity *sne) dqe = defrag_get_seg(sne, seg_nr); if (!dqe) { LOGP(DSNDCP, LOGL_ERROR, "Segment %u missing\n", seg_nr); - talloc_free(msg); + msgb_free(msg); return -EIO; } /* actually append the segment to the N-PDU */ |