diff --git a/lib/mgmt_msg.c b/lib/mgmt_msg.c index 70332bd5f3de..12432a06e2ca 100644 --- a/lib/mgmt_msg.c +++ b/lib/mgmt_msg.c @@ -427,6 +427,8 @@ void mgmt_msg_destroy(struct mgmt_msg_state *ms) mgmt_msg_reset_writes(ms); if (ms->ins) stream_free(ms->ins); + if (ms->outs) + stream_free(ms->outs); free(ms->idtag); }