aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c
index d9c3f62..8a1be38 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -430,6 +430,7 @@ void osmo_stream_cli_destroy(struct osmo_stream_cli *cli)
{
osmo_stream_cli_close(cli);
osmo_timer_del(&cli->timer);
+ msgb_queue_free(&cli->tx_queue);
talloc_free(cli);
}
@@ -924,6 +925,7 @@ void osmo_stream_srv_destroy(struct osmo_stream_srv *conn)
osmo_fd_unregister(&conn->ofd);
if (conn->closed_cb)
conn->closed_cb(conn);
+ msgb_queue_free(&conn->tx_queue);
talloc_free(conn);
}