aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-03-01 20:30:32 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-03-01 20:30:32 +0100
commita8ddb08e05295b11ffe2270c6736ce2f9e62180a (patch)
tree48523495290d3eb44a5670a2acd0818bf1a066e1 /openbsc/src/gprs/sgsn_main.c
parentc50543b18aad856c1be8acccb4980075d6eeef5a (diff)
misc: Use msgb_free for freeing the messages
Diffstat (limited to 'openbsc/src/gprs/sgsn_main.c')
-rw-r--r--openbsc/src/gprs/sgsn_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c
index 95922fc15..f7eb2214d 100644
--- a/openbsc/src/gprs/sgsn_main.c
+++ b/openbsc/src/gprs/sgsn_main.c
@@ -91,7 +91,7 @@ static int sgsn_ns_cb(enum gprs_ns_evt event, struct gprs_nsvc *nsvc,
default:
LOGP(DGPRS, LOGL_ERROR, "SGSN: Unknown event %u from NS\n", event);
if (msg)
- talloc_free(msg);
+ msgb_free(msg);
rc = -EIO;
break;
}