projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a81d87
)
[layer23] msgb_free() must in l1ctl.c must called after reading its header
author
Andreas.Eversberg
<jolly@eversberg.eu>
Sat, 13 Nov 2010 18:23:57 +0000
(18:23 +0000)
committer
Andreas.Eversberg
<jolly@eversberg.eu>
Sat, 13 Nov 2010 18:23:57 +0000
(18:23 +0000)
src/host/layer23/src/common/l1ctl.c
patch
|
blob
|
history
diff --git
a/src/host/layer23/src/common/l1ctl.c
b/src/host/layer23/src/common/l1ctl.c
index
9452007
..
ac8bac8
100644
(file)
--- a/
src/host/layer23/src/common/l1ctl.c
+++ b/
src/host/layer23/src/common/l1ctl.c
@@
-762,9
+762,9
@@
int l1ctl_recv(struct osmocom_ms *ms, struct msgb *msg)
break;
case L1CTL_PM_CONF:
rc = rx_l1_pm_conf(ms, msg);
- msgb_free(msg);
if (l1h->flags & L1CTL_F_DONE)
dispatch_signal(SS_L1CTL, S_L1CTL_PM_DONE, ms);
+ msgb_free(msg);
break;
case L1CTL_RACH_CONF:
rc = rx_l1_rach_conf(ms, msg);