commit | a8ddb08e05295b11ffe2270c6736ce2f9e62180a | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Mar 01 20:30:32 2012 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Mar 01 20:30:32 2012 +0100 |
tree | 48523495290d3eb44a5670a2acd0818bf1a066e1 | |
parent | c50543b18aad856c1be8acccb4980075d6eeef5a [diff] [blame] |
misc: Use msgb_free for freeing the messages
diff --git a/openbsc/src/gprs/gprs_sndcp.c b/openbsc/src/gprs/gprs_sndcp.c index 3e260ab..e422426 100644 --- a/openbsc/src/gprs/gprs_sndcp.c +++ b/openbsc/src/gprs/gprs_sndcp.c
@@ -162,7 +162,7 @@ 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 */