diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2011-01-27 16:33:04 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2011-01-27 16:33:04 +0000 |
commit | 837710c2855ad4c15980b9860ed793f8b791bdbd (patch) | |
tree | 10ccf0e4ea0ab8366735091ba340b40a3b44352d /src/host/layer23/src/common/l1ctl.c | |
parent | 61a4451415a753019d4247f9f6ef85a7c6780535 (diff) |
[l1ctl] Adding missing msgb_free()
When a corrupt frame cannot be delivered, it is dropped. Also it must be freed.
Diffstat (limited to 'src/host/layer23/src/common/l1ctl.c')
-rw-r--r-- | src/host/layer23/src/common/l1ctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index ac8bac87..d47275a5 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -208,6 +208,7 @@ static int rx_ph_data_ind(struct osmocom_ms *ms, struct msgb *msg) printf("Dropping frame with %u bit errors\n", dl->num_biterr); LOGP(DL1C, LOGL_NOTICE, "Dropping frame with %u bit errors\n", dl->num_biterr); + msgb_free(msg); return 0; } |