aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libgb/gprs_ns.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libgb/gprs_ns.c')
-rw-r--r--openbsc/src/libgb/gprs_ns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libgb/gprs_ns.c b/openbsc/src/libgb/gprs_ns.c
index a8f97e2a..39ccd285 100644
--- a/openbsc/src/libgb/gprs_ns.c
+++ b/openbsc/src/libgb/gprs_ns.c
@@ -998,7 +998,7 @@ static int nsip_sendmsg(struct gprs_nsvc *nsvc, struct msgb *msg)
rc = sendto(nsi->nsip.fd.fd, msg->data, msg->len, 0,
(struct sockaddr *)daddr, sizeof(*daddr));
- talloc_free(msg);
+ msgb_free(msg);
return rc;
}