Fixed memory leaks caused by not freeing msgb in udp_read_cb() function.

This commit is contained in:
Ivan Kluchnikov 2013-02-04 12:57:00 +04:00
parent 3afe56d7d8
commit 5dc29a51ef
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ static int udp_read_cb(struct osmo_fd *ofd)
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;
}