release incoming UDP msgb's after we processed them

This commit is contained in:
Harald Welte 2010-07-18 01:24:08 +02:00
parent 2631e7adcd
commit 2b0e73f42a
1 changed files with 5 additions and 1 deletions

View File

@ -60,7 +60,11 @@ static int udp_read_cb(struct bsc_fd *fd)
msgb_put(msg, rc);
return tcap_tco_n_unitdata_ind(tte, msg);
rc = tcap_tco_n_unitdata_ind(tte, msg);
msgb_free(msg);
return rc;
}
struct tcap_transport_entity *tcap_transp_udp_create(struct sockaddr_storage *local_addr)