diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-25 13:23:00 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-25 13:23:00 +0200 |
commit | bac0ff7f6df5c8fb002f3588952922b43772e770 (patch) | |
tree | a5dd3dee4d2d78f9b64fd2d4b76763ee6aef6f1e /src/osmo-bts-sysmo/l1_if.c | |
parent | 94a63851b7a1794c642d76e95b3d0d389f279137 (diff) |
sysmobts: Free the message on older firmware releases
Seen while implementing a new functionality in the code.
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.c')
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c index 0edc514e..cdcf066d 100644 --- a/src/osmo-bts-sysmo/l1_if.c +++ b/src/osmo-bts-sysmo/l1_if.c @@ -1232,6 +1232,7 @@ int l1if_mute_rf(struct femtol1_hdl *hdl, uint8_t mute[8], l1if_compl_cb *cb) #if SUPERFEMTO_API_VERSION < SUPERFEMTO_API(3,6,0) LOGP(DL1C, LOGL_ERROR, "RF-MUTE.req not supported by SuperFemto\n"); + msgb_free(msg); return -ENOTSUP; #else sysp->id = SuperFemto_PrimId_MuteRfReq; |