aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libgb/gprs_ns_frgre.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libgb/gprs_ns_frgre.c')
-rw-r--r--openbsc/src/libgb/gprs_ns_frgre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libgb/gprs_ns_frgre.c b/openbsc/src/libgb/gprs_ns_frgre.c
index 36625723..27c5c57b 100644
--- a/openbsc/src/libgb/gprs_ns_frgre.c
+++ b/openbsc/src/libgb/gprs_ns_frgre.c
@@ -263,7 +263,7 @@ int gprs_ns_frgre_sendmsg(struct gprs_nsvc *nsvc, struct msgb *msg)
rc = sendto(nsi->frgre.fd.fd, msg->data, msg->len, 0,
(struct sockaddr *)&daddr, sizeof(daddr));
- talloc_free(msg);
+ msgb_free(msg);
return rc;
}