diff options
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libgb/gprs_ns.c | 2 | ||||
-rw-r--r-- | openbsc/src/libgb/gprs_ns_frgre.c | 2 |
2 files changed, 2 insertions, 2 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; } 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; } |