commit | 5dc29a51efdc9fa10892e441cef9a614d5d00599 | [log] [tgz] |
---|---|---|
author | Ivan Kluchnikov <kluchnikovi@gmail.com> | Mon Feb 04 12:57:00 2013 +0400 |
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | Mon Feb 04 12:57:00 2013 +0400 |
tree | 9807d0ec895a5d145078a9667964206a52e3fd0b | |
parent | 3afe56d7d8d63d64ec3afb7d3d3b1490426bdfa2 [diff] [blame] |
Fixed memory leaks caused by not freeing msgb in udp_read_cb() function.
diff --git a/src/openbts_sock.cpp b/src/openbts_sock.cpp index 1f1e904..845aa77 100644 --- a/src/openbts_sock.cpp +++ b/src/openbts_sock.cpp
@@ -112,6 +112,7 @@ struct gsm_pcu_if *pcu_prim = (gsm_pcu_if *)(msg->l1h); rc = pcu_rx(pcu_prim->msg_type, pcu_prim); + msgb_free(msg); return rc; }