From 8e9bb39179cf8b16bffb0f43bcd45ce440b789a7 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj Date: Tue, 6 Feb 2018 13:52:34 +0000 Subject: [PATCH] channel: Plug minor leaks. --- channeld/channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channeld/channel.c b/channeld/channel.c index 7890468c2..8f04a8daa 100644 --- a/channeld/channel.c +++ b/channeld/channel.c @@ -2621,6 +2621,7 @@ int main(int argc, char *argv[]) channel_wire_type_name( fromwire_peektype(msg))); req_in(peer, msg); + tal_free(msg); continue; } @@ -2635,6 +2636,7 @@ int main(int argc, char *argv[]) status_trace("Now dealing with deferred gossip %u", fromwire_peektype(msg)); gossip_in(peer, msg); + tal_free(msg); continue; }